結果
| 問題 | No.3487 Restricted Shiritori |
| コンテスト | |
| ユーザー |
kidodesu
|
| 提出日時 | 2026-04-01 21:51:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 122 bytes |
| 記録 | |
| コンパイル時間 | 143 ms |
| コンパイル使用メモリ | 84,992 KB |
| 実行使用メモリ | 136,704 KB |
| 最終ジャッジ日時 | 2026-04-01 21:51:40 |
| 合計ジャッジ時間 | 2,290 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 9 WA * 16 |
ソースコード
s, h, t = list(map(str, input().split())) if s == h: ans = s else: ans = s + h print(ans if len(ans) <= int(t) else -1)
kidodesu