Submission #142202


Source Code Expand

Copy
#include<cstdio>
#include<algorithm>
#include<stack>
#include<queue>
#include<vector>
#include<string>
#include<string.h>
#include<cstdlib>
#include<ctime>
#include<cmath>
#include<complex>
#include<map>
#include<set>
#include<bitset>
#include<iostream>
#include<sstream>
#define fi first
#define se second
#define rep(i,n) for(int i = 0; i < n; i++)
#define rrep(i,n) for(int i = 1; i <= n; i++)
#define drep(i,n) for(int i = n-1; i >= 0; i--)
#define gep(i,g,j) for(int i = g.head[j]; i != -1; i = g.e[i].next)
#define each(it,c) for(__typeof((c).begin()) it=(c).begin();it!=(c).end();it++)
#define rng(a) a.begin(),a.end()
#define maxs(x,y) x = max(x,y);
#define mins(x,y) x = min(x,y);
#define pb push_back
#define sz(x) (int)(x).size()
#define popcount __builtin_popcount
#define snuke srand((unsigned)clock()+(unsigned)time(NULL))
using namespace std;
typedef long long int ll;
typedef pair<int,int> P;
typedef vector<int> vi;

const int MX = 100005, INF = 1000010000;
const ll LINF = 1000000000000000000ll;
const double eps = 1e-10;
const int dx[] = {-1,0,1,0}, dy[] = {0,-1,0,1}; //<^>v



int main(){
	double n;
	cin >> n;
	printf("%.10f\n",(9/5*n)+32);
	
	return 0;
}




Submission Info

Submission Time
Task A - Celsius と Fahrenheit
User snuke
Language C++ (G++ 4.6.4)
Score 0
Code Size 1235 Byte
Status
Exec Time 22 ms
Memory 932 KB

Test Cases

Set Name Score / Max Score Test Cases
All 0 / 100 00_sample_01.txt, 00_sample_02.txt, 00_sample_03.txt, test_01.txt, test_02.txt, test_03.txt, test_04.txt, test_05.txt, test_06.txt, test_07.txt, test_08.txt, test_09.txt, test_10.txt, test_11.txt, test_12.txt, test_13.txt, test_14.txt, test_15.txt, test_16.txt, test_17.txt, test_18.txt, test_19.txt, test_20.txt
Case Name Status Exec Time Memory
00_sample_01.txt 20 ms 800 KB
00_sample_02.txt 21 ms 804 KB
00_sample_03.txt 21 ms 812 KB
test_01.txt 21 ms 932 KB
test_02.txt 20 ms 932 KB
test_03.txt 20 ms 800 KB
test_04.txt 21 ms 804 KB
test_05.txt 21 ms 680 KB
test_06.txt 21 ms 804 KB
test_07.txt 21 ms 804 KB
test_08.txt 21 ms 928 KB
test_09.txt 21 ms 808 KB
test_10.txt 21 ms 808 KB
test_11.txt 21 ms 680 KB
test_12.txt 21 ms 808 KB
test_13.txt 21 ms 808 KB
test_14.txt 20 ms 804 KB
test_15.txt 21 ms 928 KB
test_16.txt 21 ms 680 KB
test_17.txt 22 ms 740 KB
test_18.txt 21 ms 808 KB
test_19.txt 21 ms 928 KB
test_20.txt 21 ms 928 KB