Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:39: error: 'print' was not declared in this scope
       print("%-4d%-4d%-4d",x,y,100-x-y); 
                                       ^
/in/foo.cc:12:6: error: 'cou' was not declared in this scope
      cou<<endl;
      ^~~
/in/foo.cc: At global scope:
/in/foo.cc:16:6: error: expected unqualified-id before 'return'
      return 0;
      ^~~~~~
/in/foo.cc:17:1: error: expected declaration before '}' token
 }
 ^

信息

递交者
类型
递交
题目
P1051 百元买百鱼
语言
C++
递交时间
2021-12-18 10:22:38
评测时间
2021-12-18 10:22:38
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes