记录详情

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 'puts' [-Wimplicit-function-declaration]
  puts(s);
  ^~~~
/tmp/ccRhDWt7.o: In function `main':
foo.c:(.text.startup+0xf): warning: the `gets' function is dangerous and should not be used.
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 192.0 KiB
#2 Wrong Answer 1ms 208.0 KiB
#3 Wrong Answer 0ms 204.0 KiB
#4 Wrong Answer 0ms 212.0 KiB
#5 Wrong Answer 0ms 204.0 KiB

信息

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