結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2016-05-10 06:05:52 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 61 ms |
コンパイル使用メモリ | 6,912 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-01 10:17:13 |
合計ジャッジ時間 | 1,037 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 6 WA * 15 |
ソースコード
# -*- coding:utf-8 -*-N = input()M = input()def otoshidama(N, M):dama = N / Mif dama < 1000:dama = 0return damaprint int(otoshidama(N, M))