結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2016-05-10 06:14:47 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 11 ms / 5,000 ms |
コード長 | 189 bytes |
コンパイル時間 | 160 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,528 KB |
最終ジャッジ日時 | 2024-10-01 10:17:07 |
合計ジャッジ時間 | 1,054 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
# -*- coding:utf-8 -*-import mathN = input()M = input()def otoshidama(N, M):dama = N / Mdama = dama / 1000return math.floor(dama) * 1000print int(otoshidama(N, M))