Submission #1833467


Source Code Expand

#include <iostream>
#include <sstream>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <ctime>
#include <cstring>
#include <string>
#include <vector>
#include <stack>
#include <queue>
#include <deque>
#include <map>
#include <set>
#include <bitset>
#include <numeric>
#include <utility>
#include <iomanip>
#include <algorithm>
#include <functional>
using namespace std;

#define COUT(x) cout << #x << " = " << (x) << " (L" << __LINE__ << ")" << endl
#define EACH(i, s) for (__typeof__((s).begin()) i = (s).begin(); i != (s).end(); ++i)

template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }
template<class T1, class T2> ostream& operator << (ostream &s, pair<T1,T2> P)
{ return s << '<' << P.first << ", " << P.second << '>'; }
template<class T> ostream& operator << (ostream &s, vector<T> P)
{ for (int i = 0; i < P.size(); ++i) { if (i > 0) { s << " "; } s << P[i]; } return s; }
template<class T> ostream& operator << (ostream &s, vector<vector<T> > P)
{ for (int i = 0; i < P.size(); ++i) { s << endl << P[i]; } return s << endl; }
template<class T1, class T2> ostream& operator << (ostream &s, map<T1,T2> P)
{ EACH(it, P) { s << "<" << it->first << "->" << it->second << "> "; } return s << endl; }

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

Submission Info

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