結果
| 問題 | 
                            No.128 お年玉(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             LV3zJigVW57oPGy
                         | 
                    
| 提出日時 | 2022-11-18 18:13:44 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 167 bytes | 
| コンパイル時間 | 1,271 ms | 
| コンパイル使用メモリ | 156,636 KB | 
| 実行使用メモリ | 5,376 KB | 
| 最終ジャッジ日時 | 2024-09-19 23:43:06 | 
| 合計ジャッジ時間 | 4,245 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 5 RE * 16 | 
ソースコード
#include <bits/stdc++.h> 
using namespace std;
int main(){
  int a, b;
  cin >> a >> b;
  a/=1000;
  int c = a/b;
  if(a/b==0) cout << 0;
  else cout << a/b*1000;
 
}
            
            
            
        
            
LV3zJigVW57oPGy