結果
| 問題 | 
                            No.1208 anti primenumber game
                             | 
                    
| コンテスト | |
| ユーザー | 
                             simasima_71
                         | 
                    
| 提出日時 | 2020-10-16 21:14:42 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 259 bytes | 
| コンパイル時間 | 492 ms | 
| コンパイル使用メモリ | 64,852 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-20 21:07:54 | 
| 合計ジャッジ時間 | 2,328 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 31 WA * 13 | 
ソースコード
#include <iostream>
using namespace std;
using l = long long;
int main() {l n,m;cin>>n>>m;for(l i=0;i<n;i++){l a;cin >> a;if(a-1){if(i%2-a%2)cout <<"Second"<< endl;else cout<<"First"<<endl;return 0;}}if(n%2-m==1)cout<<"First"<<endl;else cout<<"Second"<<endl;}
            
            
            
        
            
simasima_71