Submission #201089
Source Code Expand
#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <deque>
#include <complex>
#include <stack>
#include <queue>
#include <cstdio>
#include <cctype>
#include <cstring>
#include <ctime>
#include <iterator>
#include <bitset>
#include <numeric>
#include <list>
#include <iomanip>
#if __cplusplus >= 201103L
#include <array>
#include <tuple>
#include <initializer_list>
#include <unordered_set>
#include <unordered_map>
#include <forward_list>
#define cauto const auto&
#endif
using namespace std;
typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;
typedef vector<int> vint;
typedef vector<vector<int> > vvint;
typedef vector<long long> vll, vLL;
typedef vector<vector<long long> > vvll, vvLL;
#define VV(T) vector<vector< T > >
template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()){
v.assign(a, vector<T>(b, t));
}
template <class F, class T>
void convert(const F &f, T &t){
stringstream ss;
ss << f;
ss >> t;
}
#define REP(i,n) for(int i=0;i<int(n);++i)
#define ALL(v) (v).begin(),(v).end()
#define RALL(v) (v).rbegin(),(v).rend()
#define PB push_back
#define MOD 1000000009LL
#define EPS 1e-8
int main(){
LL a, b, c, d, e, f;
LL x, y, z;
double p, q, r;
string s, t, u;
a = b = c = d = e = f = 0;
x = y = z = 0;
p = q = r = 0.0;
cin >> a >> b >> c >> d >> e >> f;
cin.clear();
cin >> s >> t >> u;
cin.clear();
;
;cout << b << " " << a << endl;
}
Submission Info
Submission Time |
|
Task |
A - スワップ |
User |
climpet |
Language |
C++ (G++ 4.6.4) |
Score |
100 |
Code Size |
1755 Byte |
Status |
AC |
Exec Time |
25 ms |
Memory |
924 KB |
Judge Result
Set Name |
All |
Score / Max Score |
100 / 100 |
Status |
|
Set Name |
Test Cases |
All |
test_13_69.txt, test_16_44.txt, test_40_40.txt, test_49_31.txt, test_51_74.txt, test_83_60.txt |
Case Name |
Status |
Exec Time |
Memory |
sample_01.txt |
AC |
21 ms |
924 KB |
sample_02.txt |
AC |
19 ms |
800 KB |
test_13_69.txt |
AC |
21 ms |
800 KB |
test_16_44.txt |
AC |
21 ms |
800 KB |
test_40_40.txt |
AC |
21 ms |
744 KB |
test_49_31.txt |
AC |
23 ms |
804 KB |
test_51_74.txt |
AC |
23 ms |
800 KB |
test_83_60.txt |
AC |
25 ms |
920 KB |