結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
arutairu
|
| 提出日時 | 2021-08-27 18:14:07 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 181 bytes |
| コンパイル時間 | 145 ms |
| コンパイル使用メモリ | 28,672 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-20 20:04:13 |
| 合計ジャッジ時間 | 1,074 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 16 WA * 7 |
ソースコード
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
int main(void)
{
int d,p;
double a;
scanf("%d%d",&d,&p);
a=d*(1+p*0.01);
d=(int)a;
printf("%.0lf\n",a);
return 0;
}
arutairu