Compile Error
foo.cc:3:11: error: initializer-string for array of chars is too long [-fpermissive] char s[0]="2019"; ^~~~~~ foo.cc: In function 'int iscontain(int)': foo.cc:8:3: error: 'x' was not declared in this scope x=n%10; ^ foo.cc: In function 'int main()': foo.cc:26:6: error: 'ifContain' was not declared in this scope if(ifContain(n)) ^~~~~~~~~ foo.cc:26:6: note: suggested alternative: 'iscontain' if(ifContain(n)) ^~~~~~~~~ iscontain
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1157 感兴趣的数字
- 语言
- C++
- 递交时间
- 2021-12-01 19:20:28
- 评测时间
- 2021-12-01 19:20:28
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes