結果
問題 | No.285 消費税2 |
ユーザー |
![]() |
提出日時 | 2016-06-27 11:58:28 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 140 bytes |
コンパイル時間 | 130 ms |
コンパイル使用メモリ | 21,632 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-11 22:22:38 |
合計ジャッジ時間 | 1,058 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%lld", &d); | ^~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(void) { long long int d; scanf("%lld", &d); printf("%Lf\n", (long double)d * 108 / 100); return 0; }