結果

問題 No.928 軽減税率?
ユーザー syunsuke
提出日時 2019-11-23 00:22:52
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
TLE  
実行時間 -
コード長 305 bytes
コンパイル時間 1,000 ms
コンパイル使用メモリ 55,256 KB
実行使用メモリ 16,968 KB
最終ジャッジ日時 2024-10-11 13:01:30
合計ジャッジ時間 5,721 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample TLE * 1 -- * 1
other -- * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    long long int P,Q,A;
    cin>>P>>Q>>A;
    int ANS;
    ANS=0;
    for(int i=1;i<=1000000000;i++){
        if(((100+P)*i)/100<(((100+Q)*i)/100+A)){
            ANS+=1;
        }
    }
    cout<<ANS<<endl;
    return 0;
}
0