QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#573149 | #1. I/O Test | 7_divided_by_3 | Compile Error | / | / | C++20 | 874b | 2024-09-18 17:31:24 | 2024-09-18 17:31:24 |
Judging History
config.txt
10000000
input_test
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve()
{
}
void solve1()
{
int n;cin>>n;
ll ans=0;
for(int i=0,x=0;i<n;cin>>x,i++,ans+=x);
cout<<ans;
}
void solve2()
{
int n;cin>>n;
for(int i=0;i<n;i++,cout<<100000000<<' ');
}
int main()
{
ios::sync_with_stdio(false);cin.tie(nullptr);
//int T;cin>>T;while(T--)
solve1();
return 0;
}
output_test
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
void solve()
{
}
void solve1()
{
int n;cin>>n;
ll ans=0;
for(int i=0,x=0;i<n;cin>>x,i++,ans+=x);
cout<<ans;
}
void solve2()
{
int n;cin>>n;
for(int i=0;i<n;i++,cout<<100000000<<' ');
}
int main()
{
ios::sync_with_stdio(false);cin.tie(nullptr);
//int T;cin>>T;while(T--)
solve2();
return 0;
}
Details
Invalid Configuration File: failed to read Nin and Nout