记录详情

Wrong Answer

foo.cc: In function ‘void fohuj()’:
foo.cc:19:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   19 |                 for(int i=0;i<b[x].size();i++)qa[b[x][i]]--;
      |                             ~^~~~~~~~~~~~
foo.cc:21:72: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   21 |                 for(int i=1;i<=n;i++){if(qa[i]==1){flag=1;for(int j=0;j<a[i].size();j++)if(!vis[a[i][j]]){p.push(a[i][j]);ans[i]=a[i][j];vis2[i]=1;qj++;break;}break;}if(qa[i]==0&&vis2[i]==0){cout<<"None";exit(0);}}
      |                                                                       ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 540.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Wrong Answer Read None, expect A. 3ms 580.0 KiB

信息

递交者
类型
递交
题目
烦人的幻灯片(slides)
语言
C++
递交时间
2024-05-09 13:32:04
评测时间
2024-05-09 13:32:04
评测机
分数
70
总耗时
9ms
峰值内存
580.0 KiB