結果
問題 | No.56 消費税 |
ユーザー |
![]() |
提出日時 | 2015-07-08 00:38:00 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 150 bytes |
コンパイル時間 | 361 ms |
コンパイル使用メモリ | 55,296 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-18 02:52:07 |
合計ジャッジ時間 | 1,119 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
外部呼び出し有り |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 23 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:6:15: warning: ignoring return value of ‘int system(const char*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | system("pause"); | ~~~~~~^~~~~~~~~
ソースコード
#include<iostream> using namespace std; int main(void){ int d, p; cin >> d >> p; cout << (d*(100 + p) / 100) << endl; system("pause"); return 0; }