結果
| 問題 | No.128 お年玉(1) |
| コンテスト | |
| ユーザー |
himo
|
| 提出日時 | 2019-09-17 07:21:19 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 205 bytes |
| 記録 | |
| コンパイル時間 | 944 ms |
| コンパイル使用メモリ | 173,988 KB |
| 実行使用メモリ | 13,056 KB |
| 最終ジャッジ日時 | 2026-04-17 12:18:25 |
| 合計ジャッジ時間 | 7,915 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 WA * 1 TLE * 1 -- * 14 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main() {
long long n,m;
cin >> n >>m;
int ans =0;
int i=1;
while(1){
if(m*1000*i<=n){
ans++;
}
else{
break;
}
i++;
}
cout << ans*1000 <<endl;
}
himo