Submission #4323899


Source Code Expand

#include <iostream>
#include <iomanip>
#include <sstream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <numeric>
#include <map>
#define rep(i, n) for(int i=0;i<(int)(n);i++)
#define pb(a) push_back(a)
#define MAX(a, b) ((a < b)?b:a)
#define MIN(a, b) ((a > b)?b:a)
typedef long long int ll;
typedef unsigned long long int ull;
using namespace std;

template<typename T> void cinpb(vector<T>& x) { T n; cin >> n; x.push_back(n); }
ull gcd(ull a, ull b) { return b ? gcd(b, a%b) : a; }
ull lcm(ull m, ull n) {	return ((0 == m) || (0 == n)) ? 0 : ((m / gcd(m, n)) * n); }
int dx[4] = { 1,0,-1,0 };
int dy[4] = { 0,1,0,-1 };

void yesno(bool f) { cout << (f ? "Yes" : "No") << endl; }

//

int main()
{
	int T, X;
	cin >> T >> X;

	cout << (double)T / X << endl;

	return 0;
}

Submission Info

Submission Time
Task A - Entrance Examination
User saigo
Language C++14 (GCC 5.4.1)
Score 100
Code Size 845 Byte
Status AC
Exec Time 1 ms
Memory 256 KiB

Judge Result

Set Name All Sample
Score / Max Score 100 / 100 0 / 0
Status
AC × 14
AC × 3
Set Name Test Cases
All 0_normal_1, 0_normal_2, 0_normal_3, 1_asmall_1, 1_asmall_2, 2_alarge_1, 2_alarge_2, 3_hand_1, 3_hand_2, 3_hand_3, 3_hand_4, sample_01, sample_02, sample_03
Sample sample_01, sample_02, sample_03
Case Name Status Exec Time Memory
0_normal_1 AC 1 ms 256 KiB
0_normal_2 AC 1 ms 256 KiB
0_normal_3 AC 1 ms 256 KiB
1_asmall_1 AC 1 ms 256 KiB
1_asmall_2 AC 1 ms 256 KiB
2_alarge_1 AC 1 ms 256 KiB
2_alarge_2 AC 1 ms 256 KiB
3_hand_1 AC 1 ms 256 KiB
3_hand_2 AC 1 ms 256 KiB
3_hand_3 AC 1 ms 256 KiB
3_hand_4 AC 1 ms 256 KiB
sample_01 AC 1 ms 256 KiB
sample_02 AC 1 ms 256 KiB
sample_03 AC 1 ms 256 KiB