結果
| 問題 | No.169 何分かかるの!? | 
| コンテスト | |
| ユーザー |  184 | 
| 提出日時 | 2015-03-22 23:39:21 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 275 bytes | 
| コンパイル時間 | 490 ms | 
| コンパイル使用メモリ | 65,256 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-06-29 00:13:40 | 
| 合計ジャッジ時間 | 1,214 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 22 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   16 |         int k,s;scanf("%d%d",&k,&s);
      |                 ~~~~~^~~~~~~~~~~~~~
            
            ソースコード
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <algorithm>
#include <iostream>
#include <map>
#include <vector>
#include <queue>
using namespace std;
//namaega184
int main(){
	
	int k,s;scanf("%d%d",&k,&s);
	printf("%d\n",100*s/(100-k));
	
	
	return 0;
}
            
            
            
        