結果
| 問題 |
No.3054 Modulo Inequalities
|
| コンテスト | |
| ユーザー |
gew1fw
|
| 提出日時 | 2025-06-12 14:30:33 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 292 bytes |
| コンパイル時間 | 238 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 77,312 KB |
| 最終ジャッジ日時 | 2025-06-12 14:30:45 |
| 合計ジャッジ時間 | 11,438 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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