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