結果
| 問題 | No.3054 Modulo Inequalities |
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 14:30:33 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| 記録 | |
| コンパイル時間 | 232 ms |
| コンパイル使用メモリ | 95,720 KB |
| 実行使用メモリ | 92,288 KB |
| 最終ジャッジ日時 | 2026-07-11 11:53:50 |
| 合計ジャッジ時間 | 9,097 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 16 RE * 15 |
ソースコード
x_val = 7
y_val = 5
X = int(input())
while True:
if len(str(y_val)) == X:
a = (x_val - 1) // 2
b = a + 1
print(a, b, y_val)
break
else:
next_x = 3 * x_val + 4 * y_val
next_y = 2 * x_val + 3 * y_val
x_val, y_val = next_x, next_y
gew1fw