Accepted

/in/foo.cc: In function 'void fohuj()':
/in/foo.cc:19:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i=0;i<b[x].size();i++)qa[b[x][i]]--;
               ~^~~~~~~~~~~~
/in/foo.cc:21:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   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;}}
                                                         ~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 584.0 KiB
#2 Accepted 2ms 1.254 MiB
#3 Accepted 1ms 468.0 KiB

信息

递交者
类型
递交
题目
P1119 PS5-3
语言
C++
递交时间
2024-05-10 22:09:22
评测时间
2024-05-10 22:09:22
评测机
分数
100
总耗时
5ms
峰值内存
1.254 MiB