UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#215327#2713. 8.2t2stawalrCompile Error//C++11345b2024-11-28 18:52:072024-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("...