/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int check(int)':
/in/foo.cc:36:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(ddg[u&65535]!=u>>16){
      ~~~~~~~~~~~~^~~~~~~
/in/foo.cc:40:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if((u>>16)>=mid)break;
      ~~~~~~~^~~~~
/in/foo.cc:50:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if(ddg[u&65535]!=u>>16)continue;
      ~~~~~~~~~~~~^~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:79:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i:q1)*ww++=' ',write(i);*ww++='\n';
   ^~~
/in/foo.cc:79:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i:q1)*ww++=' ',write(i);*ww++='\n';
                                   ^
/in/foo.cc:81:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i:q2)*ww++=' ',write(i);*ww++='\n';
   ^~~
/in/foo.cc:81:35: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i:q2)*ww++=' ',write(i);*ww++='\n';
                                   ^
# 状态 耗时 内存占用
#1 Accepted 20ms 4.832 MiB
#2 Accepted 34ms 4.91 MiB
#3 Accepted 27ms 4.926 MiB
#4 Accepted 15ms 5.035 MiB
#5 Accepted 28ms 5.398 MiB
#6 Accepted 27ms 5.578 MiB
#7 Accepted 32ms 5.715 MiB
#8 Accepted 26ms 5.832 MiB
#9 Accepted 35ms 5.914 MiB
#10 Accepted 40ms 6.047 MiB

信息

递交者
类型
递交
题目
P2054 热闹的聚会与尴尬的聚会
语言
C++
递交时间
2019-05-14 12:21:55
评测时间
2019-05-14 12:21:55
评测机
分数
100
总耗时
288ms
峰值内存
6.047 MiB