QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#324872 | #1. I/O Test | xyhhhhh | 200 ✓ | 495ms | 3676kb | C++20 | 562b | 2024-02-11 01:01:15 | 2024-02-11 01:01:16 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define ll long long
using namespace std;
inline int read(){int x=0,f=1;char c=getchar();while(c<'0'||c>'9') f=(c=='-')?-1:1,c=getchar();while(c>='0'&&c<='9') x=x*10+c-'0',c=getchar();return x*f;}
int main()
{
ll n,sum=0;
cin>>n;
while(n--)
{
sum+=read();
}
cout<<sum<<endl;
return 0;
}
output_test
#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main()
{
ll n;
cin>>n;
while(n--)
{
cout<<100000000<<" ";
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 100
Accepted
Test #1:
score: 100
Accepted
time: 192ms
memory: 3676kb
input:
10000000 719461481 718527945 287829185 262396361 374761624 129721412 654519907 687379729 901293441 963904418 946964475 849320353 227530655 314476118 821617103 331312392 267670240 450400185 969939265 851499164 878611485 112575764 926477586 687631183 964159183 125972794 852062435 490677868 918932599 3...
output:
5500805490338044
result:
points 1.0 input test passed
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 495ms
memory: 3608kb
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