QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#772044#9246. Dominating PointKangliyangCompile Error//C++141.3kb2024-11-22 16:41:352024-11-22 16:41:36

詳細信息

answer.code:43:25: error: redefinition of ‘long long int p [5010]’
   43 | int n,p[5010],ban[5010],p[5010];
      |                         ^
answer.code:43:7: note: ‘long long int p [5010]’ previously declared here
   43 | int n,p[5010],ban[5010],p[5010];
      |       ^
answer.code: In function ‘int main()’:
answer.code:49:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   49 |                         scanf("%1lld",&x),a[i][j]=x,p[i]+=x;
      |                         ~~~~~^~~~~~~~~~~~