QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#53880 | #1. I/O Test | james1BadCreeper | 200 ✓ | 372ms | 3744kb | C++17 | 737b | 2022-10-06 09:58:32 | 2022-10-06 09:58:35 |
Judging History
config.txt
10000000 10000000
input_test
#include <iostream>
#include <cstdio>
using namespace std;
int n;
inline void read(int &x)
{
int c = getchar(); x = 0;
while (!isdigit(c)) c = getchar();
while (isdigit(c)) x = (x << 3) + (x << 1) + (c ^ 48), c = getchar();
}
int main(void)
{
read(n);
int x;
long long ans = 0;
while (n--)
{
read(x);
ans += x;
}
printf("%lld\n", ans);
return 0;
}
output_test
#include <iostream>
#include <cstdio>
using namespace std;
int main(void)
{
int n;
cin >> n;
while (n--)
{
putchar('1');
putchar('0');
putchar('0');
putchar('0');
putchar('0');
putchar('0');
putchar('0');
putchar('0');
putchar('0');
putchar(' ');
}
putchar('\n');
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 372ms
memory: 3744kb
input:
10000000 647694818 759603950 721587919 487819020 575292788 409799975 567159617 781624280 677673922 909406774 754547121 582859891 415867681 796571537 874978151 116243996 859700340 855155893 991570727 149274678 921578897 250999741 206904391 792210388 411439948 205468018 806093418 769918703 732542314 9...
output:
5501230661049036
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 319ms
memory: 3596kb
input:
10000000
output:
100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 100000000 ...
result:
points 1.0 output test passed