結果
問題 | No.285 消費税2 |
ユーザー |
![]() |
提出日時 | 2015-11-02 23:20:55 |
言語 | C90 (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 142 bytes |
コンパイル時間 | 573 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 08:24:00 |
合計ジャッジ時間 | 1,260 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 26 |
コンパイルメッセージ
main.c: In function ‘main’: main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%lld", &d); | ^~~~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main() { long long d; scanf("%lld", &d); d *= 108LL; printf("%lld.%02lld\n", d / 100LL, d % 100LL); return 0; }