結果
問題 |
No.2481 Shiritori
|
ユーザー |
![]() |
提出日時 | 2023-09-22 23:02:52 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 236 bytes |
コンパイル時間 | 694 ms |
コンパイル使用メモリ | 26,060 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-20 01:52:01 |
合計ジャッジ時間 | 1,688 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 38 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:5:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%lld %lld", &n, &m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~
ソースコード
#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"); else printf("Second\n"); return 0; }