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