結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-06-30 03:31:37 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 478 bytes |
| コンパイル時間 | 315 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 42,788 KB |
| 最終ジャッジ日時 | 2024-07-16 15:55:02 |
| 合計ジャッジ時間 | 6,612 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 12 |
ソースコード
from sys import stdin, stdout
input = lambda: stdin.readline().rstrip()
write = stdout.write
def main():
num = ['0'] * 10
num.append('\n')
for i in range(10):
verifi = []
for j in range(10):
num[i] = str(j)
write(''.join(num))
x, lock = input().split()
x = int(x)
if lock == 'unlocked':
return
verifi.append((x, j))
num[i] = str(max(verifi)[1])
main()