結果
| 問題 |
No.56 消費税
|
| コンテスト | |
| ユーザー |
競プロハマるスレ
|
| 提出日時 | 2016-08-24 18:26:11 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 5,000 ms |
| コード長 | 366 bytes |
| コンパイル時間 | 348 ms |
| コンパイル使用メモリ | 55,760 KB |
| 実行使用メモリ | 5,376 KB |
| 最終ジャッジ日時 | 2024-07-18 03:16:26 |
| 合計ジャッジ時間 | 1,046 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 |
ソースコード
#include <iostream>
#include <csignal>
#include <cstdlib>
using namespace std;
int main() { return 0; }
void sigfun(int);
struct _ {
_() {
signal(SIGABRT, sigfun);
abort();
}
} yukicoderNo56;
void sigfun(int) {
int d, p;
cin >> d >> p;
int ans = d * (100 + p) / 100;
cout << ans << endl;
exit(0);
}
競プロハマるスレ