結果

問題 No.128 お年玉(1)
ユーザー Suyash Sachan
提出日時 2021-07-30 02:33:38
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 179 bytes
コンパイル時間 1,739 ms
コンパイル使用メモリ 191,444 KB
最終ジャッジ日時 2025-01-23 10:19:09
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
	// your code goes here
long long	int n,m;
	cin>>n>>m;
	n=n/1000;
long long 	int ans=n/m;
	cout<<ans*1000;
	return 0;
}
0