結果
| 問題 | 
                            No.128 お年玉(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             alpha_virginis
                         | 
                    
| 提出日時 | 2015-03-05 21:15:31 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 5,000 ms | 
| コード長 | 256 bytes | 
| コンパイル時間 | 512 ms | 
| コンパイル使用メモリ | 65,556 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-10-01 09:50:46 | 
| 合計ジャッジ時間 | 1,335 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 21 | 
ソースコード
#include <stdio.h>
#include <math.h>
#include <iostream>
#include <vector>
#include <algorithm>
int main() {
  int i;
  long n, m;
  long ans;
  
  std::cin >> n >> m;
  ans = (((n/m)/1000)*1000);
  
  std::cout << ans << std::endl;
  
  return 0;
}
            
            
            
        
            
alpha_virginis