結果

問題 No.128 お年玉(1)
ユーザー snrnsidy
提出日時 2021-05-23 03:53:46
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 10,441 ms
コンパイル使用メモリ 250,164 KB
最終ジャッジ日時 2025-01-21 17:31:16
ジャッジサーバーID
(参考情報)
judge1 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 WA * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>

using namespace std;


int main() 
{
    ios::sync_with_stdio(false); 
    cin.tie(0);
    
    int N, M;

    cin >> N;
    cin >> M;

    cout << (N / (M * 1000)) * 1000 << '\n';

    return 0;
}


0