結果
問題 |
No.8081 HQ9+
|
ユーザー |
👑 ![]() |
提出日時 | 2021-04-01 21:22:28 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 193 bytes |
コンパイル時間 | 178 ms |
コンパイル使用メモリ | 82,380 KB |
実行使用メモリ | 53,684 KB |
最終ジャッジ日時 | 2024-12-21 05:38:58 |
合計ジャッジ時間 | 1,932 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 15 WA * 6 |
ソースコード
import sys S = input() for i in S: if i != "Q": print (-1) sys.exit() for i in range(1000): if i**2 == len(S): print ("Q" * i) sys.exit() print (-1)