結果

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

ソースコード

diff #

#include <stdio.h>

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

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

	printf("%d", (int)ans);

	return 0;
}
0