結果
問題 | No.88 次はどっちだ |
ユーザー | yuppe19 😺 |
提出日時 | 2015-05-01 20:57:25 |
言語 | Nim (2.0.2) |
結果 |
CE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 242 bytes |
コンパイル時間 | 416 ms |
コンパイル使用メモリ | 33,468 KB |
最終ジャッジ日時 | 2023-09-11 11:13:45 |
合計ジャッジ時間 | 924 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge12 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
/home/judge/data/code/Main.nim(5, 14) Error: type mismatch: got <int literal(8)> but expected one of: proc `<`(x, y: float): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: float32): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: int): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: int16): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: int32): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: int64): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: int8): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: uint): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: uint16): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: uint32): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: uint64): bool first type mismatch at position: 2 missing parameter: y proc `<`(x, y: uint8): bool first type mismatch at position: 2 missing parameter: y 9 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them expression: <8
ソースコード
var s = stdin.readLine cnt = 0 for i in 0.. <8: var line = stdin.readLine for ch in line: if ch != '.': cnt += 1 const players = ["oda", "yukiko"] var res = (players.find(s) + cnt) mod 2 echo players[res]