Compile Error
/in/foo.c: In function 'main': /in/foo.c:7:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[300]' [-Wformat=] scanf("%s",&s); ^ /in/foo.c:8:16: error: 'n' undeclared (first use in this function) for(int i=0;i<n;i++) ^ /in/foo.c:8:16: note: each undeclared identifier is reported only once for each function it appears in /in/foo.c:33:12: error: lvalue required as left operand of assignment s[i+24]='y') ^
信息
- 递交者
- 类型
- 自测
- 题目
- P1489 C. 小季的密文
- 语言
- C
- 递交时间
- 2023-09-09 19:53:30
- 评测时间
- 2023-09-09 19:53:30
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes