Submission #201151
Source Code Expand
#include <iostream> #include <vector> #include <algorithm> #include <utility> #include <map> #include <queue> #include <stack> #include <string> #include <sstream> #include <cstring> #include <cstdlib> using namespace std; #define ALL(c) c.begin(),c.end() #define RALL(c) c.rbegin(),c.rend() #define REP(type,i,n) for(type i=0;i<(n);++i) #define MP(a,b) make_pair((a),(b)) #define F_ first #define S_ second typedef long long int lli; typedef pair<int,int> P; const int INF=100000000; const long long int INF_=1000000000000000000; int A,B; int main(){ cin >> A >> B; swap(A,B); cout << A << ' ' << B << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | walkre |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 666 Byte |
Status | AC |
Exec Time | 21 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 | 676 KB |
sample_02.txt | AC | 20 ms | 800 KB |
test_13_69.txt | AC | 20 ms | 800 KB |
test_16_44.txt | AC | 20 ms | 924 KB |
test_40_40.txt | AC | 20 ms | 676 KB |
test_49_31.txt | AC | 21 ms | 800 KB |
test_51_74.txt | AC | 21 ms | 804 KB |
test_83_60.txt | AC | 21 ms | 800 KB |