QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#826408 | #1. I/O Test | I_like_magic | 200 ✓ | 305ms | 3616kb | C++14 | 715b | 2024-12-22 10:17:04 | 2024-12-22 10:17:04 |
Judging History
config.txt
10000000 10000000
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 = 10000000;
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: 100
Accepted
Test #1:
score: 100
Accepted
time: 224ms
memory: 3496kb
input:
10000000 388949486 616884603 638823262 510495993 833528002 728869155 628131742 955190110 709664914 260647346 643060309 188472798 983314420 624735663 170594879 666060617 837620202 267575545 968248213 839351754 974330889 695408617 747122364 206317015 445388018 166184989 343594730 621895335 247309717 7...
output:
5500891454819769
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 305ms
memory: 3616kb
input:
10000000
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 1.0 output test passed