Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:14:5: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations] 14 | gets(n); | ~~~~^~~ In file included from /in/foo.cc:1: /usr/include/stdio.h:605:14: note: declared here 605 | extern char *gets (char *__s) __wur __attribute_deprecated__; | ^~~~ /usr/bin/ld: /tmp/cca0ydYG.o: in function `main': foo.cc:(.text.startup+0xd): warning: the `gets' function is dangerous and should not be used.
信息
- 递交者
- 类型
- 递交
- 题目
- P1092 xf2-5水仙花数
- 语言
- C++
- 递交时间
- 1 周前
- 评测时间
- 1 周前
- 评测机
- 分数
- 100
- 总耗时
- 6ms
- 峰值内存
- 324.0 KiB