QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#141828 | #6993. Take Your Seat | sdoi | Compile Error | / | / | C++23 | 2.1kb | 2023-08-18 02:43:15 | 2023-08-18 02:43:16 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:93:5: error: redefinition of ‘int n’ 93 | int n, m; | ^ answer.code:32:5: note: ‘int n’ previously declared here 32 | int n, m; | ^ answer.code:93:8: error: redefinition of ‘int m’ 93 | int n, m; | ^ answer.code:32:8: note: ‘int m’ previously declared here 32 | int n, m; | ^ answer.code:95:8: error: redefinition of ‘double dp [55]’ 95 | double dp[55]; | ^~ answer.code:34:8: note: ‘double dp [55]’ previously declared here 34 | double dp[55]; | ^~ answer.code:97:6: error: redefinition of ‘void solve()’ 97 | void solve() { | ^~~~~ answer.code:36:6: note: ‘void solve()’ previously defined here 36 | void solve() { | ^~~~~ answer.code:106:5: error: redefinition of ‘int main()’ 106 | int main() { | ^~~~ answer.code:45:5: note: ‘int main()’ previously defined here 45 | int main() { | ^~~~ answer.code: In function ‘void solve()’: answer.code:37:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:52:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | int T; scanf("%d", &T); | ~~~~~^~~~~~~~~~ answer.code: In function ‘void solve()’: answer.code:98:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 98 | scanf("%d%d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~ answer.code: In function ‘int main()’: answer.code:113:21: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 113 | int T; scanf("%d", &T); | ~~~~~^~~~~~~~~~