結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
notetonous
|
| 提出日時 | 2016-04-19 15:20:27 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 138 bytes |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 20,736 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-04 14:06:29 |
| 合計ジャッジ時間 | 1,100 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 3 WA * 23 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:5:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%lf",&D);
| ^~~~~~~~~~~~~~~
ソースコード
#include <stdio.h>
int main(){
double eps=10e-9;
double D,ans;
scanf("%lf",&D);
ans=D*1.08+eps;
printf("%f\n",ans);
return 0;
}
notetonous