/ Vijos /

记录详情

Compile Error

/in/foo.cc: In function 'void add(int, int, int)':
/in/foo.cc:15:10: error: expected primary-expression before ';' token
    cout<<;
          ^
/in/foo.cc:16:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
   return 0;
          ^
/in/foo.cc:21:11: error: return-statement with a value, in function returning 'void' [-fpermissive]
    return 1;
           ^
/in/foo.cc:22:10: error: return-statement with a value, in function returning 'void' [-fpermissive]
   return 0;
          ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:21: error: 'finish' was not declared in this scope
    if (finish(1,0,11))
                     ^
/in/foo.cc:47:21: error: 'finish' was not declared in this scope
    if (finish(0,1,11))
                     ^
/in/foo.cc:61:21: error: 'finish' was not declared in this scope
    if (finish(1,0,21))
                     ^
/in/foo.cc:69:21: error: 'finish' was not declared in this scope
    if (finish(0,1,21))
                     ^

信息

递交者
类型
递交
题目
P1217 乒乓球
语言
C++
递交时间
2019-09-22 20:19:48
评测时间
2019-09-22 20:19:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes