結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー aaaaaaaaaa2230
提出日時 2024-02-23 22:29:36
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 59 ms / 2,000 ms
コード長 307 bytes
コンパイル時間 291 ms
コンパイル使用メモリ 82,068 KB
実行使用メモリ 72,200 KB
最終ジャッジ日時 2024-09-29 07:25:09
合計ジャッジ時間 1,827 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

def solve():
    d,a = map(int,input().split())
    X = list(map(int,input().split()))

    ans = []
    for x in X:
        x *= 10
        x //= a
        m = x%10
        x //= 10
        if m >= 5:
            x += 1
        ans.append(x)
    print(*ans)

t = int(input())
for _ in range(t):
    solve()
0