记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(s%i==0)
    ^~
foo.cc:18:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     break;
     ^~~~~
foo.cc:9:8: warning: unused variable 'b' [-Wunused-variable]
  int a,b,x;
        ^
foo.cc:23:26: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<n<<"="<<a<<"+"<<n-a;
                          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4=3+1, expect 4=2+2. 1ms 384.0 KiB
#2 Wrong Answer Read 12=3+9, expect 12=5+7. 1ms 384.0 KiB
#3 Wrong Answer Read 24=3+21, expect 24=5+19. 1ms 384.0 KiB
#4 Wrong Answer Read 48=3+45, expect 48=5+43. 1ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
比赛
周末测试1
语言
C++
递交时间
2021-09-03 20:56:26
评测时间
2021-09-03 20:56:26
评测机
分数
10
总耗时
9ms
峰值内存
384.0 KiB