Submission #201127
Source Code Expand
#include <cstdio> #include <cstring> #include <cstdlib> #include <cmath> #include <complex> #include <string> #include <sstream> #include <algorithm> #include <vector> #include <queue> #include <stack> #include <functional> #include <iostream> #include <map> #include <set> using namespace std; typedef pair<int,int> P; typedef long long ll; typedef vector<int> vi; typedef vector<ll> vll; #define pu push #define pb push_back #define mp make_pair #define eps 1e-9 #define INF 2000000000 #define sz(x) ((int)(x).size()) #define fi first #define sec second #define SORT(x) sort((x).begin(),(x).end()) #define all(x) (x).begin(),(x).end() #define EQ(a,b) (abs((a)-(b))<EPS) int main() { int a,b; cin >> a >> b; swap(a,b); cout << a << ' ' <<b << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - スワップ |
User | okura |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 799 Byte |
Status | AC |
Exec Time | 22 ms |
Memory | 928 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 | 22 ms | 804 KB |
sample_02.txt | AC | 21 ms | 924 KB |
test_13_69.txt | AC | 21 ms | 808 KB |
test_16_44.txt | AC | 20 ms | 796 KB |
test_40_40.txt | AC | 21 ms | 924 KB |
test_49_31.txt | AC | 22 ms | 780 KB |
test_51_74.txt | AC | 22 ms | 928 KB |
test_83_60.txt | AC | 22 ms | 792 KB |