結果

問題 No.169 何分かかるの!?
ユーザー Daisuke Sasakawa
提出日時 2022-11-10 07:51:04
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 1,000 ms
コード長 220 bytes
コンパイル時間 124 ms
コンパイル使用メモリ 28,240 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-23 11:11:00
合計ジャッジ時間 938 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main(void) {
	int K, S;
	float par, time;
	
	scanf("%d", &K);
	scanf("%d", &S);
	
	K = 100 - K;
	
	par = (double)K/(double)100;
	
	time = (double)S/par;
	printf("%d\n", (int)time);
	
	return 0;
}
0