結果
問題 | No.2481 Shiritori |
ユーザー |
![]() |
提出日時 | 2023-09-22 23:02:52 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-08 13:45:15 |
合計ジャッジ時間 | 1,063 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
#include<stdio.h>int main(){long long int n, m;scanf("%lld %lld", &n, &m);if (m == 1)printf("First\n");else if (m == 2)printf("First\n");else if (n % 2 > 0)printf("First\n");elseprintf("Second\n");return 0;}