QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#826413#1. I/O TestI_like_magic1.14514 4ms3496kbC++14704b2024-12-22 10:18:522024-12-22 10:18:52

Judging History

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

  • [2024-12-22 10:18:52]
  • 评测
  • 测评结果:1.14514
  • 用时:4ms
  • 内存:3496kb
  • [2024-12-22 10:18:52]
  • 提交

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 = 114514;
    while(t--) {
        int i = 9;
        while(i --) putchar('1');
        putchar('\n');
    }
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Skipped

Subtask #2:

score: 1.14514
Acceptable Answer

Test #2:

score: 1.14514
Acceptable Answer
time: 4ms
memory: 3496kb

input:

114514

output:

111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
111111111
...

result:

points 0.01145140 output test passed