結果

問題 No.1798 Financial Quiz
ユーザー Digwee_kkknDigwee_kkkn
提出日時 2022-01-02 02:19:24
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 2,376 bytes
コンパイル時間 1,396 ms
コンパイル使用メモリ 165,900 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-13 06:08:44
合計ジャッジ時間 1,876 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std; 
typedef long long ll;
typedef pair<int,int> P;
const int INF=100000000;
const ll INFx=1000000000000;
int dx[4]={1,0,-1,0};
int dy[4]={0,1,0,-1};
string al="abcdefghijklmnopqrstuvwxyz";
string AL="ABCDEFGHIJKLMNOPQRSTUVWXYZ";
#define rep(i,n) for(int i=0;i<(n);++i)
#define YESNO(flag) if(flag){cout<<"YES"<<endl;}else{cout<<"NO"<<endl;}
#define yesno(flag) if(flag){cout<<"yes"<<endl;}else{cout<<"no"<<endl;}
#define YesNo(flag) if(flag){cout<<"Yes"<<endl;}else{cout<<"No"<<endl;}


int main(){
  int n,p; cin>>n>>p;
  n/=100;
  int ans=n*(100-p);
  cout<<ans;
}

                                                                                                                           /*  
+++++        ++                                
++  +++                   +                                                                    /\          /\
++    +++    ++          ++                                                                   /  \        /  \
++      ++   ++     ++++++++++  +++        ++++      +++      +++++       +++++              /    \      /    \
++      ++   ++     ++      ++    +++     ++++++    +++     ++     ++   ++     ++          
++    +++    ++     ++      ++      +++  +++  +++  +++      ++++++++++  ++++++++++
++  +++      ++     ++++++++++       ++++++    ++++++       ++          ++ 
+++++        ++          ++           ++++      ++++         ++++++++    ++++++++               "Lets Enjoy!"   
                    ++++++++++     
                    ++      ++    
                    ++      ++
                    ++++++++++                                                                               
 
                                         Λ  Λ    / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
                                        ( ゚ー゚)< now rating【157】+55 
                                          ̄ ̄    \___________
   人     / ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄
( ゚ー゚)<  #灰coderですがなにか                                                                                                                                                
   ̄ ̄    \___________

                                                                                                                          */
0