QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#179946 | #1. I/O Test | Summer_Sheep | 0 | 0ms | 0kb | C++14 | 521b | 2023-09-15 13:50:09 | 2023-09-15 13:50:11 |
config.txt
0 0
input_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
int n,a[10000001],sum;
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
cin>>n;
for(int i=1;i<=n;++i)
{
cin>>a[i];
sum+=a[i];
}
cout<<sum<<endl;
return 0;
}
output_test
#include<bits/stdc++.h>
#define int long long
using namespace std;
int n,a[10000001],sum;
signed main()
{
ios::sync_with_stdio(false);
cin.tie(0);cout.tie(0);
cin>>n;
for(int i=1;i<=n;++i)
{
cout<<"100000000 ";
}
return 0;
}
Details
Tip: Click on the bar to expand more detailed information
Subtask #1:
score: 0
Skipped
Subtask #2:
score: 0
Skipped