码迷,mamicode.com
首页 > 其他好文 > 详细

J - VAT Man Gym - 102040J

时间:2019-11-29 10:56:31      阅读:74      评论:0      收藏:0      [点我收藏+]

标签:vector   cassert   efi   sort   class   --   control   algorithm   sizeof   

https://vjudge.net/contest/332199#problem/J

技术图片

水题,直接上代码

#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<bitset>
#include<cassert>
#include<cctype>
#include<cmath>
#include<cstdlib>
#include<ctime>
#include<deque>
#include<iomanip>
#include<list>
#include<map>
#include<queue>
#include<set>
#include<stack>
#include<vector>
#include <vector>
#include <iterator>
#include <utility>
#include <sstream>
#include <limits>
#include <numeric>
#include <functional>
using namespace std;
#define gc getchar()
#define mem(a) memset(a,0,sizeof(a))
//#define sort(a,n,int) sort(a,a+n,less<int>())

#define ios ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);

typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;
typedef pair<int,int> pii;
typedef char ch;
typedef double db;

const double PI=acos(-1.0);
const double eps=1e-6;
const ll mod=1e9+7;
const int inf=0x3f3f3f3f;
const int maxn=1e5+10;
const int maxm=100+10;

bool compare(int a, int b)
{
    return a < b;//升序
}

int main()
{
    int t = 0;
    double p = 0;
    cin >> t;
    while(t--)
    {
        cin >>p;
        p*=1.15;
        printf("%.2f\n",p);
    }
    return 0;
} 

 

 

J - VAT Man Gym - 102040J

标签:vector   cassert   efi   sort   class   --   control   algorithm   sizeof   

原文地址:https://www.cnblogs.com/SutsuharaYuki/p/11949929.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!