結果
問題 | No.128 お年玉(1) |
ユーザー |
![]() |
提出日時 | 2023-05-31 16:15:37 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 194 bytes |
コンパイル時間 | 236 ms |
コンパイル使用メモリ | 27,904 KB |
実行使用メモリ | 10,496 KB |
最終ジャッジ日時 | 2024-12-28 13:52:19 |
合計ジャッジ時間 | 32,763 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 WA * 12 TLE * 4 |
ソースコード
#include <stdio.h> int main() { long long n, m; scanf("%lld", &n); scanf("%lld", &m); int o = 0; while (n >= m * 1000) { n -= m * 1000; o += 1000; } printf("%d", o); return 0; }