QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#573149#1. I/O Test7_divided_by_3Compile Error//C++20874b2024-09-18 17:31:242024-09-18 17:31:24

Judging History

你现在查看的是最新测评结果

  • [2024-09-18 17:31:24]
  • 评测
  • [2024-09-18 17:31:24]
  • 提交

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