QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#762917 | #8049. Equal Sums | Huluobo | Compile Error | / | / | C++14 | 2.5kb | 2024-11-19 17:16:12 | 2024-11-19 17:16:13 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code:6:13: error: expected constructor, destructor, or type conversion before ‘(’ token 6 | freopen (file ".in", "r", stdin); \ | ^ answer.code:8:13: error: expected constructor, destructor, or type conversion before ‘(’ token 8 | freopen (file ".out", "w", stdout); | ^ answer.code: In function ‘void solve()’: answer.code:68:11: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | scanf ("%d%d", &n, &m); | ~~~~~~^~~~~~~~~~~~~~~~ answer.code:72:15: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | scanf ("%d%d", &al[i], &ar[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ answer.code:78:15: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 78 | scanf ("%d%d", &bl[i], &br[i]); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~