結果
問題 | No.88 次はどっちだ |
ユーザー |
![]() |
提出日時 | 2017-08-16 15:10:34 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 238 bytes |
コンパイル時間 | 2,945 ms |
コンパイル使用メモリ | 64,896 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-30 02:44:51 |
合計ジャッジ時間 | 3,541 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
コンパイルメッセージ
/home/judge/data/code/Main.nim(1, 8) Warning: imported and not used: 'sequtils' [UnusedImport]
ソースコード
import sequtils,strutilsvars = stdin.readlineb : stringcnt = 0n = ["oda", "yukiko"]if s == "oda":cnt = 0else:cnt = 1for i in 0..7:b = stdin.readlinecnt += b.count('.')b = n[(cnt and 1)]echo b