結果
| 問題 |
No.548 国士無双
|
| コンテスト | |
| ユーザー |
cande398
|
| 提出日時 | 2018-05-23 11:33:22 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 26 ms / 2,000 ms |
| コード長 | 214 bytes |
| コンパイル時間 | 118 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-17 14:49:46 |
| 合計ジャッジ時間 | 1,295 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
A = 'abcdefghijklm'
S = input()
K = []
for c in A:
N = []
T = S + c
for j in A:
N.append(T.count(j))
if N.count(1) == 12 and N.count(2) == 1:
K.append(c)
print('Impossible' if len(K) == 0 else '\n'.join(K))
cande398