結果
問題 |
No.9003 小数誤差テスト(テスト用)
|
ユーザー |
![]() |
提出日時 | 2015-06-04 03:45:21 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 5,000 ms |
コード長 | 127 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 20,864 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-06 16:05:24 |
合計ジャッジ時間 | 569 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
コンパイルメッセージ
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("%d", &N); | ^~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main() { int N; scanf("%d", &N); printf("decimal\n"); printf("%g\n", N*0.0001+N); return 0; }