Submission #201115


Source Code Expand

#include <iostream>
#include <cmath>
#include <algorithm>
#include <vector>
#include <map>
#include <set>
#include <string>
#include <cstring>
#include <sstream>
using namespace std;

// infty
#define ULLINF (ULLONG_MAX)
#define LLINF  (LLONG_MAX)
#define IINF   (INT_MAX)
#define INF    (1<<29)

// math
#define Sq(x) ((x)*(x))

// container utility
#define allof(x) (x).begin(), (x).end()
#define MP make_pair
#define PB push_back

// rep
#define REP(i,a,b) for(int i=a;i<b;i++)
#define rep(i,n) REP(i,0,n)

// typedef
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<PII> VII;
typedef vector<VI> VVI;

typedef long long ll;

// pair util
#define FST first
#define SND second

// range validator
#define CK(n,a,b) (a<=n && n<b)

// conversion
template<class T> inline string toStr(T a) { ostringstream oss_; oss_ << a; return oss_.str(); }
inline int toInt(string s) { return atoi(s.c_str()); }

// prime
bool isPrime(int a) { for(int i=2; i*i <=a; i++) if(a%i == 0) return false; return true; }

int const dx[] = {-1,0,1,0,-1,1,1,-1};
int const dy[] = {0,-1,0,1,-1,-1,1,1};

//////////////////////////////////////////////////////////////


int main() {
  
  int a, b, c;
  int A[1000];
  int N;
  vector<string> vecS;
  string s, t;
  
    
  cin >> a >> b;
  
  cout << b << a << endl;
  
  return 0;
}

Submission Info

Submission Time
Task A - スワップ
User motxx
Language C++ (G++ 4.6.4)
Score 0
Code Size 1397 Byte
Status WA
Exec Time 22 ms
Memory 920 KB

Judge Result

Set Name All
Score / Max Score 0 / 100
Status
WA × 6
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 WA 22 ms 728 KB
sample_02.txt WA 22 ms 804 KB
test_13_69.txt WA 22 ms 920 KB
test_16_44.txt WA 22 ms 796 KB
test_40_40.txt WA 22 ms 672 KB
test_49_31.txt WA 22 ms 800 KB
test_51_74.txt WA 21 ms 800 KB
test_83_60.txt WA 22 ms 800 KB