/ 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 11ms 4.832 MiB
#2 Accepted 11ms 4.898 MiB
#3 Accepted 11ms 4.93 MiB
#4 Accepted 11ms 5.035 MiB
#5 Accepted 14ms 5.391 MiB
#6 Accepted 16ms 5.582 MiB
#7 Accepted 16ms 5.742 MiB
#8 Accepted 20ms 5.832 MiB
#9 Accepted 21ms 5.918 MiB
#10 Accepted 22ms 6.043 MiB

信息

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