Submission #1514328


Source Code Expand

#include <map>
#include <set>
#include <list>
#include <cmath>
#include <deque>
#include <queue>
#include <stack>
#include <cstdio>
#include <string>
#include <vector>
#include <complex>
#include <cstdlib>
#include <cstring>
#include <numeric>
#include <utility>
#include <iostream>
#include <algorithm>
#include <functional>
#include <unordered_map>
#include <unordered_set>

using namespace std;

#define ll long long
#define ull unsigned long long
#define INF (1 << 30)
#define LLINF (1LL << 62)
#define MOD7 1000000007
#define MOD9 1000000009
#define eps 1e-9
#define P pair<int, int>
#define pii pair<int, int>
#define pll pair<ll, ll>
#define pul pair<ull, ull>
#define all(a) (a).begin(), (a).end()
#define FOR(i,a,b) for (int i=(a);i<(b);++i)
#define RFOR(i,a,b) for (int i=(b)-1;i>=(a);--i)
#define REP(i,n) for (int i=0;i<(n);++i)
#define RREP(i,n) for (int i=(n)-1;i>=0;--i)

void YES() { cout << "YES\n"; }
void NO() { cout << "NO\n"; }
void Yes() { cout << "Yes\n"; }
void No() { cout << "No\n"; }
int gcd(int x, int y) { return y ? gcd(y, x % y) : x; }
ll gcd(ll x, ll y) { return y ? gcd(y, x % y) : x; }
int lcm(int x, int y) { return x / gcd(x, y) * y; }
ll lcm(ll x, ll y) { return x / gcd(x, y) * y; }

int dx[] = { 1, 0, -1, 0, 1, -1, -1, 1 };
int dy[] = { 0, -1, 0, 1, -1, -1, 1, 1 };

int main() {
	int n;
	cin >> n;
	cout << n * 2 << endl;

	return 0;
}

Submission Info

Submission Time
Task A - 流行
User temple
Language C++14 (GCC 5.4.1)
Score 100
Code Size 1434 Byte
Status AC
Exec Time 1 ms
Memory 256 KB

Judge Result

Set Name All
Score / Max Score 100 / 100
Status
AC × 28
Set Name Test Cases
All 00_sample_00.txt, max_1000000.txt, min_0.txt, rand_133007.txt, rand_171937.txt, rand_172717.txt, rand_232508.txt, rand_242450.txt, rand_246841.txt, rand_269046.txt, rand_320433.txt, rand_435534.txt, rand_50616.txt, rand_537196.txt, rand_565439.txt, rand_601980.txt, rand_622146.txt, rand_624081.txt, rand_678601.txt, rand_696476.txt, rand_762274.txt, rand_798714.txt, rand_821336.txt, rand_85323.txt, rand_859632.txt, rand_921203.txt, rand_934508.txt, rand_993594.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 1 ms 256 KB
max_1000000.txt AC 1 ms 256 KB
min_0.txt AC 1 ms 256 KB
rand_133007.txt AC 1 ms 256 KB
rand_171937.txt AC 1 ms 256 KB
rand_172717.txt AC 1 ms 256 KB
rand_232508.txt AC 1 ms 256 KB
rand_242450.txt AC 1 ms 256 KB
rand_246841.txt AC 1 ms 256 KB
rand_269046.txt AC 1 ms 256 KB
rand_320433.txt AC 1 ms 256 KB
rand_435534.txt AC 1 ms 256 KB
rand_50616.txt AC 1 ms 256 KB
rand_537196.txt AC 1 ms 256 KB
rand_565439.txt AC 1 ms 256 KB
rand_601980.txt AC 1 ms 256 KB
rand_622146.txt AC 1 ms 256 KB
rand_624081.txt AC 1 ms 256 KB
rand_678601.txt AC 1 ms 256 KB
rand_696476.txt AC 1 ms 256 KB
rand_762274.txt AC 1 ms 256 KB
rand_798714.txt AC 1 ms 256 KB
rand_821336.txt AC 1 ms 256 KB
rand_85323.txt AC 1 ms 256 KB
rand_859632.txt AC 1 ms 256 KB
rand_921203.txt AC 1 ms 256 KB
rand_934508.txt AC 1 ms 256 KB
rand_993594.txt AC 1 ms 256 KB