結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
fmhr
|
| 提出日時 | 2015-11-27 23:12:21 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| コード長 | 529 bytes |
| コンパイル時間 | 108 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,768 KB |
| 平均クエリ数 | 50.62 |
| 最終ジャッジ日時 | 2024-07-16 21:49:46 |
| 合計ジャッジ時間 | 1,844 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 13 |
ソースコード
# coding:utf-8
import random
def main():
# a = str(random.randint(0,9999999999)).zfill(10)
a = '1234567890'
print(a)
score, s = input().split()
if s == 'unlocked':
return
for i in range(10):
for j in range(10):
print(a[:i]+str(j)+a[i+1:])
score2, s = input().split()
if s == 'unlocked':
return
if int(score) < int(score2):
a = a[:i]+str(j)+a[i+1:]
score = score2
break
main()
fmhr