ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#215327 | #2713. 8.2t2 | stawalr | Compile Error | / | / | C++11 | 345b | 2024-11-28 18:52:07 | 2024-11-28 23:10:09 |
answer
#include<bits/stdc++.h>
using namespace std;
const int N = 1000010;
int n,m, a['王' / 10], b['梓' / 10];
int dp['沣' / 10];
int main()
{
scanf("%d%d", &n, &m);
for (int i = 1; i <= n; i ++)
scanf("%d", a + i);
for (int i = 1; i <= n; i ++)
scanf("%d", b + i), a[i] += b[i];
print("6\n");
}
详细
answer.code:4:12: warning: multi-character character constant [-Wmultichar] int n,m, a['王' / 10], b['梓' / 10];\x0d ^ answer.code:4:27: warning: multi-character character constant [-Wmultichar] int n,m, a['王' / 10], b['梓' / 10];\x0d ^ answer.code:5:8: warning: multi-character character constant [-Wmultichar] int dp['沣' / 10];\x0d ^ answer.code: In function 'int main()': answer.code:15:16: error: 'print' was not declared in this scope print("...