結果

問題 No.56 消費税
ユーザー kachipan
提出日時 2023-06-22 15:31:14
言語 C
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 182 bytes
コンパイル時間 186 ms
コンパイル使用メモリ 27,392 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-29 22:41:37
合計ジャッジ時間 1,019 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 4
other AC * 2 WA * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>

int main()
{
	float n = 0;
	float x = 0;
	int ans = 0;
	scanf("%d", &n);
	scanf("%d", &x);

	x = x / 100 + 1;
	ans = n * x;

	printf("%d", ans + 1);

	return 0;
}
0