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