Submission #1813638


Source Code Expand

#include <bits/stdc++.h>
#include <stdio.h>
#include <math.h>
using namespace std;

#define INF 1.1e9
#define LINF 1.1e18
#define FOR(i,a,b) for (int i = (a); i < (b); ++i)
#define REP(i,n) FOR(i,0,n)
#define ALL(v) (v).begin(), (v).end()
#define pb push_back
#define pf push_front
#define fi first
#define se second
#define BIT(x,n) bitset<n>(x)

typedef long long ll;
typedef pair<ll,ll> P;
typedef pair<int,P> PP;

struct edge {
	int to,cost;
	edge(int t,ll c):to(t),cost(c) {}
};

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

//-----------------------------------------------------------------------------

int n;

int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);

	cin>>n;
	cout<<2*n<<endl;

	return 0;
}

Submission Info

Submission Time
Task A - 流行
User moko_freedom
Language C++14 (GCC 5.4.1)
Score 100
Code Size 810 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