QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#440546 | #1. I/O Test | LDM0116 | 100 | 488ms | 3676kb | C++14 | 1.5kb | 2024-06-13 20:29:13 | 2024-06-13 20:29:14 |
Judging History
config.txt
10000000 10000000
input_test
#include<bits/stdc++.h>
#define mkp make_pair
#define ll long long
#define ull unsigned long long
#define pb emplace_back
#define sort stable_sort
#define iinf 0x3f3f3f3f
#define linf 0x3f3f3f3f3f3f3f3f
#define lowbit(x) x&(-x)
#define pii pair<int,int>
#define i128 __int128
using namespace std;
namespace smiling{
int n,a;
ll s;
int main(){
cin>>n;
for(int i=1;i<=n;i++){
cin>>a;
s+=a;
}
cout<<s;
return 0;
}
}
int main(){
#ifdef ONLINE_JUDGE
#else
freopen("1.in","r",stdin);
freopen("1.out","w",stdout);
double s=clock();
#endif
smiling::main();
#ifdef ONLINE_JUDGE
#else
double t=clock();
printf("\n\ntime:%.6lf",(t-s)/1000);
#endif
return 0;
}
output_test
#include<bits/stdc++.h>
#define mkp make_pair
#define ll long long
#define ull unsigned long long
#define pb emplace_back
#define sort stable_sort
#define iinf 0x3f3f3f3f
#define linf 0x3f3f3f3f3f3f3f3f
#define lowbit(x) x&(-x)
#define pii pair<int,int>
#define i128 __int128
using namespace std;
namespace smiling{
int n;
int main(){
cin>>n;
for(int i=1;i<=n;i++){
cout<<100000000<<'\n';
}
return 0;
}
}
int main(){
#ifdef ONLINE_JUDGE
#else
freopen("1.in","r",stdin);
freopen("1.out","w",stdout);
double s=clock();
#endif
smiling::main();
#ifdef ONLINE_JUDGE
#else
double t=clock();
printf("\n\ntime:%.6lf",(t-s)/1000);
#endif
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
input_test Time Limit Exceeded
Test #1:
score: 0
input_test Time Limit Exceeded
input:
10000000 753273841 226134201 865051027 110344979 508251405 450706789 631623701 327221170 607135795 573150841 887985245 985526622 486728146 460308581 200045448 596371355 358622701 409670986 830340850 848987332 677861766 569465687 864796010 266419544 850187158 532272759 177255561 932372835 354051186 7...
output:
result:
Subtask #2:
score: 100
Accepted
Test #2:
score: 100
Accepted
time: 488ms
memory: 3676kb
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