Submission #1367873
Source Code Expand
#include <bits/stdc++.h> using namespace std; #define all(c) (c).begin(),(c).end() #define rep(i,n) for(int i=0; i<(int)(n); i++) #define iter(c) __typeof((c).begin()) #define tr(it,c) for(iter(c) it=(c).begin(); it!=(c).end(); it++) #define pb(a) push_back(a) #define mp(a,b) make_pair(a,b) #define pr(a) cout << (a) << endl #define F first #define S second typedef long long ll; typedef pair<int,int> P; const int MAX=2000000001; int dx[4]={-1,0,1,0},dy[4]={0,-1,0,1}; int main() { int a,b; cin >> a >> b; swap(a,b); cout << a << " " << b << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | kzyKT |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 596 Byte |
Status | AC |
Exec Time | 1 ms |
Memory | 256 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 | 1 ms | 256 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 |