QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#856450#9481. Min NimNafeeszxWA 1ms3712kbC++20699b2025-01-14 00:24:312025-01-14 00:24:31

Judging History

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

  • [2025-01-14 00:24:31]
  • 评测
  • 测评结果:WA
  • 用时:1ms
  • 内存:3712kb
  • [2025-01-14 00:24:31]
  • 提交

answer

#pragma GCC optimize("O3")
#pragma GCC optimize("unroll-loops")
#include <bits/stdc++.h>
using namespace std;
#define trav(a, x) for(auto& a : x)
#define FOR(i, a, b) for (int i=(a); i<=(signed)(b); i++)
#define ROF(i, a, b) for (int i=(a); i>=(signed)(b); i--)
#define F0R(i, a) for (int i=0; i<(signed)(a); i++)
#define vi vector<int>
#define f first
#define s second
#define all(v) (v).begin(), (v).end()
typedef long long ll;

const ll mod = 1e9 + 7;

int dp[105][105];

int main() 
{	
    ios_base::sync_with_stdio(0); cin.tie(0);
    int n; cin >> n;
    vector<int> v(n);
    F0R(i, n) cin >> v[i];
    cout << (n%2? "First" : "Second") << "\n";
    return 0;
}   

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3712kb

input:

2
3
3 1 4
8
3 1 4 1 5 9 2 6

output:

Second

result:

wrong answer 1st words differ - expected: 'First', found: 'Second'