結果
| 問題 | No.169 何分かかるの!? | 
| コンテスト | |
| ユーザー |  daradara_sanma | 
| 提出日時 | 2017-07-07 21:37:42 | 
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 1,000 ms | 
| コード長 | 189 bytes | 
| コンパイル時間 | 406 ms | 
| コンパイル使用メモリ | 53,656 KB | 
| 実行使用メモリ | 6,820 KB | 
| 最終ジャッジ日時 | 2024-10-06 10:03:42 | 
| 合計ジャッジ時間 | 1,137 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 22 | 
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |         scanf("%d", &k);
      |         ~~~~~^~~~~~~~~~
main.cpp:9:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |         scanf("%d", &s);
      |         ~~~~~^~~~~~~~~~
            
            ソースコード
#include<iostream>
#include<cstdio>
#include<string>
using namespace std;
int main() {
	int k, s;
	scanf("%d", &k);
	scanf("%d", &s);
	printf("%d\n", (s * 100 / (100 - k)));
	
	return 0;
}
            
            
            
        