QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#826412#1. I/O TestI_like_magic0 1ms3600kbC++14699b2024-12-22 10:18:422024-12-22 10:18:42

Judging History

你现在查看的是最新测评结果

  • [2024-12-22 10:18:42]
  • 评测
  • 测评结果:0
  • 用时:1ms
  • 内存:3600kb
  • [2024-12-22 10:18:42]
  • 提交

config.txt

0 114514

input_test

#include<bits/stdc++.h>
#define int long long
using namespace std;
inline int read() {
    int res = 0, f = 1; char c = getchar();
    while(c != '-' && (c < '0' || c > '9')) c = getchar();
    if(c == '-') f = -1, c = getchar();
    while(c >= '0' && c <= '9') res = res * 10 + c - '0', c = getchar();
    return res * f;
}
signed main() {
    int n = read();
    int ans = 0;
    for(int i = 1; i <= n; i ++) {
        int a;
        a = read();
        ans += a;
    }
    cout << ans;
}

output_test

#include<bits/stdc++.h>
using namespace std;
int main() {
    int t = 1;
    while(t--) {
        int i = 9;
        while(i --) putchar('1');
        putchar('\n');
    }
}

詳細信息

Subtask #1:

score: 0
Skipped

Subtask #2:

score: 0
Wrong Answer

Test #2:

score: 0
Wrong Answer
time: 1ms
memory: 3600kb

input:

114514

output:

111111111

result:

wrong output format Unexpected end of file - int32 expected