Submission #104286


Source Code Expand

Copy
#include <iostream>
#include <sstream>
#include <string>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <cmath>
#include <cctype>
#include <cassert>
#include <cstring>
#include <climits>

using namespace std;

#define FOR(k,a,b) for(typeof(a) k=(a); k < (b); k++)
#define FORE(k,a,b) for(typeof(a) k=(a); k <= (b); k++)
#define REP(k,a) for(int k=0; k < (a); k++)

#define SZ size()
#define ALL(c) (c).begin(), (c).end()
#define PB push_back
#define MP make_pair
#define EACH(i,c) for(typeof((c).begin()) i=(c).begin(); i!=(c).end(); i++)
#define EXIST(s,e) ((s).find(e)!=(s).end())

#define dump(x) cerr << #x << ": " << (x) << endl;

typedef long long ll;
typedef vector<int> VI;
typedef vector<VI> VVI;
typedef vector<string> VS;
typedef pair<int, int> PII;

const int INF = 1000 * 1000 * 1000;
const double EPS = 1e-10;



int main()
{
  int n;
  cin >> n;
  
  cout << (n * 9.0 / 5) + 32 << endl;
  
  return 0;
}

Submission Info

Submission Time
Task A - Celsius と Fahrenheit
User kohei0418
Language C++ (G++ 4.6.4)
Score 100
Code Size 1208 Byte
Status
Exec Time 23 ms
Memory 932 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
× 23
Set Name Test Cases
All 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 920 KB
00_sample_02.txt 21 ms 704 KB
00_sample_03.txt 20 ms 672 KB
test_01.txt 21 ms 804 KB
test_02.txt 20 ms 804 KB
test_03.txt 20 ms 680 KB
test_04.txt 21 ms 680 KB
test_05.txt 20 ms 804 KB
test_06.txt 21 ms 744 KB
test_07.txt 20 ms 672 KB
test_08.txt 21 ms 680 KB
test_09.txt 20 ms 748 KB
test_10.txt 22 ms 804 KB
test_11.txt 21 ms 804 KB
test_12.txt 23 ms 680 KB
test_13.txt 20 ms 928 KB
test_14.txt 21 ms 800 KB
test_15.txt 21 ms 808 KB
test_16.txt 20 ms 676 KB
test_17.txt 20 ms 796 KB
test_18.txt 21 ms 932 KB
test_19.txt 21 ms 800 KB
test_20.txt 20 ms 800 KB