結果

問題 No.128 お年玉(1)
ユーザー mag
提出日時 2020-06-14 14:55:12
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 271 bytes
コンパイル時間 1,383 ms
コンパイル使用メモリ 165,368 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-10-01 11:19:52
合計ジャッジ時間 4,078 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5 RE * 16
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>

using namespace std;
using ll=long long;
#define rep2(i, a, n) for(int i = (a); i < (n); i++)
#define rep(i, n) rep2(i,0,n)

int main(){
  cin.tie(nullptr);ios_base::sync_with_stdio(false);
  int n,m;cin>>n>>m;
  cout<<1000*(n/(1000*m))<<endl;
}
0