結果
| 問題 |
No.9003 小数誤差テスト(テスト用)
|
| ユーザー |
snuke
|
| 提出日時 | 2014-10-28 22:53:47 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 117 bytes |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 22,784 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-07-06 15:58:59 |
| 合計ジャッジ時間 | 686 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 5 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:5:6: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%lf",&a);
| ~~~~~^~~~~~~~~~
ソースコード
#include<cstdio>
using namespace std;
int main() {
double a;
scanf("%lf",&a);
printf("%.15f\n",a);
return 0;
}
snuke