Compile Error
/in/foo.cc:9:18: error: 'x' has not been declared
int getnum(int n,x){
^
/in/foo.cc: In function 'int getnum(int, int)':
/in/foo.cc:12:12: error: 'x' was not declared in this scope
if(n%10==x)
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:23:2: error: 'cin' was not declared in this scope
cin>>n>>x;
^~~
/in/foo.cc:27:2: error: 'cout' was not declared in this scope
cout<<cot;
^~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1153 记数问题
- 语言
- C++
- 递交时间
- 2020-07-12 17:54:18
- 评测时间
- 2020-07-12 17:54:18
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes