結果
問題 |
No.548 国士無双
|
ユーザー |
![]() |
提出日時 | 2018-06-14 07:39:00 |
言語 | Nim (2.2.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 3,281 ms |
コンパイル使用メモリ | 62,792 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-30 14:18:45 |
合計ジャッジ時間 | 3,867 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
import tables let S = stdin.readLine var dic = initCountTable[char]() flg: bool for s in S: dic.inc s for a in ('a' .. 'm'): var dic2 = dic dic2.inc a if dic2.len >= 13 and dic2.largest.val >= 2: echo a flg = true if not flg: echo "Impossible"