結果

問題 No.2285 Make A Unit Square
ユーザー umezoumezo
提出日時 2023-04-28 23:42:59
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 418 bytes
コンパイル時間 2,037 ms
コンパイル使用メモリ 200,512 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-04-29 00:45:25
合計ジャッジ時間 2,570 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define ALL(v) v.begin(),v.end()
typedef long long ll;
 
#include<bits/stdc++.h>
using namespace std;
 
int main(){
  ios::sync_with_stdio(false);
  std::cin.tie(nullptr);
  
  int t;
  cin>>t;
  while(t--){
    int a,b;
    cin>>a>>b;
    
    int tmp=0;
    tmp+=(a-1)/3;
    tmp+=(b-1)/3;
    if(tmp%2==0) cout<<"Second\n";
    else cout<<"First\n";
  }
  
  return 0;
}
0