记录详情

Compile Error

foo.c: In function 'mis':
foo.c:8:44: error: 'key' undeclared (first use in this function)
    8 |             str[i] = 'a' + (str[i] - 'a' + key) % 26;
      |                                            ^~~
foo.c:8:44: note: each undeclared identifier is reported only once for each function it appears in
foo.c: In function 'main':
foo.c:16:12: error: invalid suffix "s" on integer constant
   16 |     char s[10000s];
      |            ^~~~~~
foo.c:16:10: warning: unused variable 's' [-Wunused-variable]
   16 |     char s[10000s];
      |          ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
4-6 一个密钥的凯撒密码
语言
C
递交时间
2023-12-05 15:31:24
评测时间
2023-12-05 15:31:24
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes