/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:44:7: error: 'ans' was not declared in this scope
    if(ans<0) 
       ^~~
/in/foo.cc:43:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(f[5000-i]!=-1)
     ^
/in/foo.cc:49:7: error: 'ans' was not declared in this scope
    if(ans<0) 
       ^~~
/in/foo.cc:48:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if(f[5000+i]!=-1)
     ^

信息

递交者
类型
递交
题目
P1222 等值拉面
语言
C++
递交时间
2018-02-24 11:53:34
评测时间
2018-02-24 11:53:34
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes