/ Vijos /

记录详情

Wrong Answer

/in/foo.cc:1:0: warning: ignoring #pragma comment  [-Wunknown-pragmas]
 #pragma comment(linker, "/STACK:1024000000,1024000000")
 
/in/foo.cc: In function 'bool check(long long int)':
/in/foo.cc:116:10: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
    if(!(i+j&1)){
         ~^~
/in/foo.cc:114:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(re int i=1;i<=n;i++)
  ^~~
/in/foo.cc:124:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   dinic();
   ^~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:133:6: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
      for(re int i=1;i<=n;i++)
      ^~~
/in/foo.cc:139:7: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
       for(re int i=1;i<=n;i++)
       ^~~
/in/foo.cc:141:15: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
         if(!(i+j&1)) S1+=a[i][j];
              ~^~
/in/foo.cc:145:50: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
       if(wish>=m&&check(wish)) cout<<wish*(n*m>>1+1)-S1<<endl;
                                                 ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 2.355 MiB
#2 Wrong Answer 17ms 476.0 KiB
#3 Wrong Answer 19ms 384.0 KiB
#4 Wrong Answer 653ms 512.0 KiB
#5 Wrong Answer 678ms 640.0 KiB
#6 Wrong Answer 359ms 512.0 KiB
#7 Wrong Answer 168ms 2.363 MiB
#8 Wrong Answer 166ms 2.344 MiB
#9 Wrong Answer 109ms 616.0 KiB
#10 Wrong Answer 204ms 2.355 MiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2018-04-16 21:02:56
评测时间
2018-04-16 21:02:56
评测机
分数
0
总耗时
2381ms
峰值内存
2.363 MiB