結果

問題 No.56 消費税
ユーザー kachipan
提出日時 2023-06-22 16:11:04
言語 C
(gcc 13.3.0)
結果
AC  
実行時間 1 ms / 5,000 ms
コード長 198 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 28,544 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-29 23:17:31
合計ジャッジ時間 865 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#include <math.h>

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

	zei = n * x / 100;

	printf("%d", n + zei);

	return 0;
}
0