結果
問題 |
No.128 お年玉(1)
|
ユーザー |
![]() |
提出日時 | 2019-01-07 21:16:47 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 153 bytes |
コンパイル時間 | 529 ms |
コンパイル使用メモリ | 63,712 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-01 10:54:30 |
合計ジャッジ時間 | 3,316 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 RE * 16 |
ソースコード
#include <iostream> using namespace std; int main() { int n, m; cin >> n >> m; int ans = n / m; ans = (ans / 1000) * 1000; cout << ans << endl; }