/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void calc()':
/in/foo.cc:37:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int k=0;k<n;k++)
  ^~~
/in/foo.cc:43:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=0;i<=10000;i++){
   ^~~
/in/foo.cc: In function 'void out()':
/in/foo.cc:52:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(f[5000-i]!=-1)
     ^
/in/foo.cc:57:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(f[5000+i]!=-1)
     ^
# 状态 耗时 内存占用
#1 Accepted 4ms 480.0 KiB
#2 Wrong Answer 2ms 512.0 KiB
#3 Wrong Answer 3ms 492.0 KiB
#4 Wrong Answer 18ms 384.0 KiB
#5 Wrong Answer 2ms 488.0 KiB
#6 Wrong Answer 7ms 472.0 KiB
#7 Wrong Answer 11ms 384.0 KiB
#8 Wrong Answer 16ms 476.0 KiB
#9 Wrong Answer 14ms 472.0 KiB
#10 Wrong Answer 14ms 476.0 KiB

信息

递交者
类型
递交
题目
P1222 等值拉面
语言
C++
递交时间
2018-02-24 12:18:21
评测时间
2018-02-24 12:18:21
评测机
分数
10
总耗时
95ms
峰值内存
512.0 KiB