結果
| 問題 |
No.285 消費税2
|
| コンテスト | |
| ユーザー |
latte0119
|
| 提出日時 | 2015-10-17 01:12:53 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 351 bytes |
| コンパイル時間 | 1,449 ms |
| コンパイル使用メモリ | 159,500 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-07-22 06:58:52 |
| 合計ジャッジ時間 | 2,494 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 22 WA * 4 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
typedef pair<int,int>P;
typedef vector<int>VI;
#define rep(i,n) for(int i=0;i<(n);i++)
#define pb push_back
#define all(v) (v).begin(),(v).end()
#define maxv(a,b) (a)=max((a),(b))
#define int long long
signed main(){
int a;
cin>>a;
a*=108;
cout<<a/100<<"."<<a%100<<endl;
return 0;
}
latte0119