結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
tassi_2012
|
| 提出日時 | 2015-12-21 23:37:02 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 118 bytes |
| コンパイル時間 | 508 ms |
| コンパイル使用メモリ | 53,628 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-18 18:11:09 |
| 合計ジャッジ時間 | 1,489 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 26 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:8:13: warning: unknown conversion type character ‘.’ in format [-Wformat=]
8 | printf("%l.2f\n", D * 1.08 );
| ^
main.cpp:8:10: warning: too many arguments for format [-Wformat-extra-args]
8 | printf("%l.2f\n", D * 1.08 );
| ^~~~~~~~~
ソースコード
#include <iostream>
#include <stdio.h>
int main(void)
{
long D;
std::cin >> D;
printf("%l.2f\n", D * 1.08 );
}
tassi_2012