結果
問題 |
No.88 次はどっちだ
|
ユーザー |
![]() |
提出日時 | 2017-08-16 15:09:52 |
言語 | Nim (2.2.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 236 bytes |
コンパイル時間 | 2,512 ms |
コンパイル使用メモリ | 66,820 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-06-30 02:44:56 |
合計ジャッジ時間 | 2,991 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 6 WA * 5 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import sequtils,strutils var s = stdin.readline b : string cnt = 0 n = ["oda", "yuki"] if s == "oda": cnt = 0 else: cnt = 1 for i in 0..7: b = stdin.readline cnt += b.count('.') b = n[(cnt and 1)] echo b