結果
問題 |
No.2647 [Cherry 6th Tune A] Wind
|
ユーザー |
|
提出日時 | 2024-02-26 05:12:56 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 42 ms / 2,000 ms |
コード長 | 266 bytes |
コンパイル時間 | 471 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-09-29 11:34:32 |
合計ジャッジ時間 | 1,633 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 14 |
ソースコード
n=int(input()) def zen(d,a,lst): anslst=[] for i in range(d): x=(lst[i]*10)//a if 0<=x%10<5:pass else:x+=10 x//=10 anslst.append(x) return anslst for _ in range(n): d,a=map(int,input().split()) lst=list(map(int,input().split())) print(*zen(d,a,lst))