QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#757559 | #9483. Maximize Array | PleaseHackme# | WA | 0ms | 3596kb | C++20 | 378b | 2024-11-17 10:34:18 | 2024-11-17 10:34:19 |
Judging History
answer
#include<bits/stdc++.h>
#define int long long
#define endl '\n'
using namespace std;
void solve(){
int n;cin>>n;
for(int i=1;i<=n;i++){
int p;cin>>p;
}
if(n%2) cout<<"First\n";
else cout<<"Second\n";
}
signed main(){
ios::sync_with_stdio(false);
cin.tie(NULL);
int t=1;cin>>t;
while(t--){
solve();
}
}
詳細信息
Test #1:
score: 0
Wrong Answer
time: 0ms
memory: 3596kb
input:
9 3 1 2 3 4 1 2 3 4 1
output:
First Second First First First First First First First
result:
wrong answer 1st words differ - expected: '4', found: 'First'