QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#295756 | #4832. Telepathy | NamelessOIer | Compile Error | / | / | C++14 | 3.4kb | 2023-12-31 21:26:36 | 2023-12-31 21:26:37 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:83:6: error: redefinition of ‘void get_plan()’ 83 | void get_plan(){ | ^~~~~~~~ answer.code:44:6: note: ‘void get_plan()’ previously defined here 44 | void get_plan(){ | ^~~~~~~~ answer.code: In function ‘int main()’: answer.code:102:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 102 | scanf("%s", name); | ~~~~~^~~~~~~~~~~~ answer.code:104:20: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 104 | int n, k; scanf("%d%d", &n, &k); | ~~~~~^~~~~~~~~~~~~~~~ answer.code:107:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 107 | scanf("%s", a); | ~~~~~^~~~~~~~~