結果

問題 No.128 お年玉(1)
ユーザー Mister
提出日時 2020-03-31 20:13:29
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 293 bytes
コンパイル時間 859 ms
コンパイル使用メモリ 116,864 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-10-01 11:16:07
合計ジャッジ時間 1,775 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>

using lint = long long;

void solve() {
    lint n, m;
    std::cin >> n >> m;
    std::cout << (n / 1000 / m) * 1000 << std::endl;
}

int main() {
    std::cin.tie(nullptr);
    std::cout.tie(nullptr);
    std::ios::sync_with_stdio(false);

    solve();

    return 0;
}
0