結果
| 問題 | No.3487 Restricted Shiritori |
| コンテスト | |
| ユーザー |
npnp
|
| 提出日時 | 2026-04-01 21:22:44 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 90 bytes |
| 記録 | |
| コンパイル時間 | 1,302 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 35,932 KB |
| 最終ジャッジ日時 | 2026-04-01 21:23:44 |
| 合計ジャッジ時間 | 4,675 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 WA * 3 |
ソースコード
s,e,N = input().split(" ")
if int(N)<=1:
print(-1)
else:
print(s+'a'*(int(N)-2)+e)
npnp