結果
| 問題 |
No.2285 Make A Unit Square
|
| コンテスト | |
| ユーザー |
planes
|
| 提出日時 | 2023-04-28 22:25:41 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 491 bytes |
| コンパイル時間 | 1,552 ms |
| コンパイル使用メモリ | 167,060 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-11-17 21:23:05 |
| 合計ジャッジ時間 | 2,502 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 4 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ll =long long;
#define all(v) v.begin(),v.end()
#define rep(i,a,b) for(int i=a;i<b;i++)
#define rrep(i,a,b) for(int i=a;i>=b;i--)
ll INF=2e18;
void solve() {
ll a,b;cin>>a>>b;
ll A=a/2;
ll B=b/2;
if(A%2==0&&B%2!=0) cout<<"First"<<endl;
else if(A%2!=0&&B%2==0)cout<<"First"<<endl;
else cout<<"Second"<<endl;
}
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
ll t;cin>>t;
for(ll i=0;i<t;i++) {
solve();
}
}
planes