/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void solve(int, int)':
/in/foo.cc:52:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<maxd;i++) printf("%lld ",ans[i]);printf("%lld\n",ans[maxd]);
     ^~~
/in/foo.cc:52:52: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
     for(int i=0;i<maxd;i++) printf("%lld ",ans[i]);printf("%lld\n",ans[maxd]);
                                                    ^~~~~~
/in/foo.cc:45:9: warning: variable 'ok' set but not used [-Wunused-but-set-variable]
     int ok = 0;
         ^~
# 状态 耗时 内存占用
#1 Accepted 4ms 368.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 4ms 380.0 KiB
#4 Wrong Answer 7ms 208.0 KiB
#5 Accepted 4ms 320.0 KiB
#6 Accepted 26ms 256.0 KiB
#7 Wrong Answer 107ms 256.0 KiB
#8 Wrong Answer 12ms 352.0 KiB
#9 Accepted 18ms 384.0 KiB
#10 Accepted 235ms 364.0 KiB

信息

递交者
类型
递交
题目
P1308 埃及分数
语言
C++
递交时间
2018-07-09 21:01:08
评测时间
2018-07-09 21:01:08
评测机
分数
70
总耗时
423ms
峰值内存
384.0 KiB