记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:4:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration]
  gets(s);
  ^~~~
/in/foo.c:6:2: warning: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
  scanf("%d",&k);  
  ^~~~~
/in/foo.c:6:2: warning: incompatible implicit declaration of built-in function 'scanf'
/in/foo.c:6:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
/in/foo.c:15:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
  printf("%s",s[10000]);
  ^~~~~~
/in/foo.c:15:2: warning: incompatible implicit declaration of built-in function 'printf'
/in/foo.c:15:2: note: include '<stdio.h>' or provide a declaration of 'printf'
/in/foo.c:15:11: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
  printf("%s",s[10000]);
           ^
/tmp/ccVrK8ZR.o: In function `main':
foo.c:(.text.startup+0xf): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 196.0 KiB
#2 Wrong Answer 0ms 212.0 KiB
#3 Wrong Answer 0ms 204.0 KiB
#4 Wrong Answer 0ms 212.0 KiB
#5 Wrong Answer 0ms 200.0 KiB

信息

递交者
类型
递交
题目
4-6 一个密钥的凯撒密码
语言
C
递交时间
2019-12-10 15:36:03
评测时间
2019-12-10 15:36:03
评测机
分数
0
总耗时
4ms
峰值内存
212.0 KiB