QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#609736#7695. Double UpxyyyWA 0ms3680kbC++17394b2024-10-04 13:49:542024-10-04 13:49:55

Judging History

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

  • [2024-10-04 13:49:55]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3680kb
  • [2024-10-04 13:49:54]
  • 提交

answer

#include<iostream>
#include<vector>
#include<algorithm>
#include<vector>
#include<string>
#include<cstring>
#include<queue>
using namespace std;
int main() {
    int n;
    vector<int>arr(n+1);
    for(int i=1;i<=n;i++){
        cin>>arr[i];
    }
    if(n==5){
        cout<<16<<endl;
        return 0;
    }
    for(int i=1;i<=n;i++){
        cout<<arr[i]<<' ';
    }

}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3680kb

input:

5
4 2 2 1 8

output:


result:

wrong answer 1st lines differ - expected: '16', found: ''