結果
問題 | No.56 消費税 |
ユーザー |
|
提出日時 | 2017-05-24 22:06:55 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 210 bytes |
コンパイル時間 | 109 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-19 18:37:45 |
合計ジャッジ時間 | 901 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 WA * 1 |
other | AC * 16 WA * 7 |
ソースコード
#include <stdio.h> #include <math.h> int main() { double D,P,Z,sumd; int sum; scanf("%lf",&D); scanf("%lf",&P); Z = (D * (1 + (P*0.01) )); sumd = floor (Z); printf("%.lf\n",Z); }