結果

問題 No.2647 [Cherry 6th Tune A] Wind
ユーザー moon17moon17
提出日時 2024-02-23 22:56:06
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 177 bytes
コンパイル時間 306 ms
コンパイル使用メモリ 82,592 KB
実行使用メモリ 73,728 KB
最終ジャッジ日時 2024-09-29 08:12:29
合計ジャッジ時間 1,705 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

for _ in range(int(input())):
  d,a=map(int,input().split())
  *x,=map(int,input().split())
  ans=[]
  for i in x:
    j=int(str(i*10//a)[-1])
    ans+=i//a+(j>4),
  print(*ans)
0