結果
| 問題 | No.56 消費税 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-05-04 20:11:08 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 132 bytes |
| 記録 | |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 34,816 KB |
| 実行使用メモリ | 7,968 KB |
| 最終ジャッジ日時 | 2026-05-04 20:11:15 |
| 合計ジャッジ時間 | 1,384 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 19 WA * 4 |
ソースコード
#include <stdio.h>
int main(){
int D,ans;
float P;
scanf("%d %f",&D,&P);
ans=D+D*(P/100);
printf("%d\n",(int)ans);
return 0;
}