結果
問題 |
No.928 軽減税率?
|
ユーザー |
![]() |
提出日時 | 2019-11-23 00:25:23 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
TLE
|
実行時間 | - |
コード長 | 300 bytes |
コンパイル時間 | 1,794 ms |
コンパイル使用メモリ | 54,144 KB |
実行使用メモリ | 16,832 KB |
最終ジャッジ日時 | 2024-10-11 13:02:52 |
合計ジャッジ時間 | 5,554 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | TLE * 1 -- * 1 |
other | -- * 34 |
ソースコード
#include <iostream> using namespace std; int main(void){ // Your code here! 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; }