记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:7:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    7 |             if(n%4==1 || n%4==2);
      |             ^~
foo.cc:8:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    8 |                         printf("%d",1);
      |                         ^~~~~~
foo.cc:9:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    9 |                 if(n%4==3 || n%4==4);
      |                 ^~
foo.cc:10:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   10 |                     printf("%d",0);
      |                     ^~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 10, expect 1. 2ms 536.0 KiB

信息

递交者
类型
自测
题目
P1136 最小非负值
语言
C++
递交时间
2024-08-22 14:47:09
评测时间
2024-08-22 14:47:09
评测机
分数
0
总耗时
2ms
峰值内存
536.0 KiB