/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:11: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(k);
           ^
In file included from /usr/include/stdio.h:862:0,
                 from /usr/include/c++/7/cstdio:42,
                 from foo.cc:2:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:232:1: note: declared here
 gets (char *__str)
 ^~~~
foo.cc:11:11: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
     gets(c);
           ^
In file included from /usr/include/stdio.h:862:0,
                 from /usr/include/c++/7/cstdio:42,
                 from foo.cc:2:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:232:1: note: declared here
 gets (char *__str)
 ^~~~
foo.cc:10:9: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
     gets(k);
     ~~~~^~~
foo.cc:11:9: warning: ignoring return value of 'char* gets(char*)', declared with attribute warn_unused_result [-Wunused-result]
     gets(c);
     ~~~~^~~
/tmp/cceVm25F.o: In function `main':
foo.cc:(.text.startup+0x1b): warning: the `gets' function is dangerous and should not be used.
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer 读取到 KCIerMCnMXAtgjJw... ,应为 KCIerMCnMXAtgjJw... 0ms 256.0 KiB
#2 Wrong Answer 读取到 BuUPhWOJrwcUzdmu... ,应为 BuUPhWOJrwcUzdmu... 0ms 256.0 KiB
#3 Wrong Answer 读取到 MzuFueqkPZatBPDJ... ,应为 MzuFueqkPZatBPDJ... 0ms 256.0 KiB
#4 Wrong Answer 读取到 jAhzhNYTRDaxGKJy... ,应为 jAhzhNYWDEleDCPn... 0ms 256.0 KiB
#5 Wrong Answer 读取到 nbdgBHbTrjgjkMzY... ,应为 nbdgBHbTrjgjkMzY... 0ms 256.0 KiB
#6 Wrong Answer 读取到 IKUkQiEmvbwxgoyC... ,应为 IKUkQiEmvbwxgoyC... 0ms 256.0 KiB
#7 Wrong Answer 读取到 IJoeQIAINWtysjIY... ,应为 IJoeQIAINWtysjIY... 0ms 256.0 KiB
#8 Wrong Answer 读取到 TcRYVEVixHLcIgCf... ,应为 TcRYVEVixHLcIgCf... 0ms 256.0 KiB
#9 Wrong Answer 读取到 shqxhPXiliwMDXTF... ,应为 shqxhPXiliwMDXTF... 0ms 256.0 KiB
#10 Accepted 0ms 256.0 KiB

信息

递交者
类型
递交
题目
P1778 vigenere密码
语言
C++
递交时间
2020-11-03 19:35:51
评测时间
2020-11-03 19:35:51
评测机
分数
10
总耗时
6ms
峰值内存
256.0 KiB