QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#689266#9313. Make Max202314170109WA 0ms3628kbC++14490b2024-10-30 16:05:462024-10-30 16:05:46

Judging History

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

  • [2024-10-30 16:05:46]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3628kb
  • [2024-10-30 16:05:46]
  • 提交

answer

// Example program
#include <iostream>
#include<vector>
#include<stack>
using namespace std;

vector<int>a;
void readCase(){
    int n;
    cin>>n;
    a.resize(n+1,0);
    for(int i =1;i<a.size();i++){
          cin>>a[i];
    }
}

void returnCase(){
    for(int i=1;i<a.size();i++){
        cout<<" "<<a[i];
    }
    cout<<endl;
}



int main(){
    int t;
    cin>>t;
    while(t--){
       readCase();
       returnCase();
    }
return 0;
}






詳細信息

Test #1:

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

input:

4
2
1 2
2
2 2
7
1 1 1 2 2 2 2
3
1 2 3

output:

 1 2
 2 2
 1 1 1 2 2 2 2
 1 2 3

result:

wrong answer 2nd numbers differ - expected: '0', found: '2'