Submission #2236781
Source Code Expand
#pragma warning(disable:4996) #include <bits/stdc++.h> using namespace std; //macro #define FOR(i,a,b) for(ll i=(ll)(a);i<(ll)(b);i++) #define REP(i,n) FOR(i,0,n) #define ALL(a) (a).begin(),(a).end() #define EPS (1e-8) #define equals(a,b)(fabs((a)-(b))<EPS) using ll = long long; using ull = unsigned long long; using vb = vector<bool>; using vi = vector<int>; using vll = vector<ll>; using vs = vector<string>; using vvb = vector<vb>; using vvi = vector<vi>; using vvll = vector<vll>; //func template<typename A, typename T>void assign2d(A&arr, ll H, ll W, T t) { arr.resize(H); REP(i, H) arr[i].assign(W, t); } template<class T> ostream &operator<<(ostream &os, const vector<T> &v) { int n = v.size(); REP(i, n)os << v[i] << (i == n - 1 ? "" : " "); return os; } template <class T = int> inline T IN() { T x; cin >> x; return x; } template<class T> inline void OUT(const T &x) { cout << x << "\n"; } void YESNO(bool c) { OUT(c ? "YES" : "NO"); }; void YesNo(bool c) { OUT(c ? "Yes" : "No"); }; struct pre_ { pre_() { cin.tie(nullptr); ios::sync_with_stdio(false); /*cout << fixed << setprecision(6);*/ } } pre__; int main() { int A, B; cin >> A >> B; cout << B << " " << A << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | maodao |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 1238 Byte |
Status | AC |
Exec Time | 2 ms |
Memory | 384 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | sample_01.txt, sample_02.txt, 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 | 1 ms | 256 KB |
sample_02.txt | AC | 1 ms | 256 KB |
test_13_69.txt | AC | 1 ms | 256 KB |
test_16_44.txt | AC | 1 ms | 256 KB |
test_40_40.txt | AC | 2 ms | 384 KB |
test_49_31.txt | AC | 1 ms | 256 KB |
test_51_74.txt | AC | 1 ms | 256 KB |
test_83_60.txt | AC | 1 ms | 256 KB |