結果
| 問題 | 
                            No.128 お年玉(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             めうめう🎒
                         | 
                    
| 提出日時 | 2016-01-19 22:22:20 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 387 bytes | 
| コンパイル時間 | 637 ms | 
| コンパイル使用メモリ | 72,516 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-01 10:13:35 | 
| 合計ジャッジ時間 | 1,293 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <iostream>
#include <sstream>
#include <math.h>
#include <stack>
#include <set>
#include <algorithm>
#include <string>
#include <queue>
#include <stack>
#include <map>
#include <cstdio>
#include <vector>
using namespace std;
#define INF (1 << 30)
#define INFLL (1LL << 60)
int main() {
	long long n,m;
	cin >> n >> m;
	n = n / 1000;
	cout << n / m * 1000 << endl;
	return 0;
}
            
            
            
        
            
めうめう🎒