Submission #111873


Source Code Expand

#include <cstdlib>
#include <cmath>
#include <climits>
#include <cfloat>
#include <map>
#include <utility>
#include <set>
#include <iostream>
#include <memory>
#include <string>
#include <vector>
#include <algorithm>
#include <functional>
#include <sstream>
#include <deque>
#include <complex>
#include <stack>
#include <queue>
#include <cstdio>
#include <cctype>
#include <cstring>
#include <ctime>
#include <iterator>
#include <bitset>
#include <numeric>
#include <list>
#include <iomanip>
using namespace std;


typedef long long LL;
typedef pair<int,int> pii;
typedef pair<LL,LL> pll;

typedef vector<int> vint;
typedef vector<vector<int> > vvint;
typedef vector<long long> vll, vLL;
typedef vector<vector<long long> > vvll, vvLL;

#define VV(T) vector<vector< T > >

template <class T>
void initvv(vector<vector<T> > &v, int a, int b, const T &t = T()){
	v.assign(a, vector<T>(b, t));
}

template <class F, class T>
void convert(const F &f, T &t){
	stringstream ss;
	ss << f;
	ss >> t;
}


#define REP(i,n) for(int i=0;i<int(n);++i)
#define ALL(v) (v).begin(),(v).end()
#define RALL(v) (v).rbegin(),(v).rend()
#define PB push_back


#define MOD 1000000009LL
#define EPS 1e-8



int main(){
	LL a, b;
	cin >> a >> b;
	if(a == b) throw 0;
	
	cout << max(a, b) << endl;
	
}

Submission Info

Submission Time
Task A - 正直者
User climpet
Language C++ (G++ 4.6.4)
Score 100
Code Size 1349 Byte
Status AC
Exec Time 22 ms
Memory 932 KB

Judge Result

Set Name all
Score / Max Score 100 / 100
Status
AC × 27
Set Name Test Cases
all 00_sample_01.txt, 00_sample_02.txt, kensho_diff01, kensho_diff02, kensho_diff03, kensho_diff04, kensho_diff05, kensho_min-max01, kensho_min-max02, kensho_min-max03, kensho_min-max04, kensho_min-max05, kensho_min-max06, kensho_min-max07, kensho_min-max08, kensho_min-max09, kensho_min-max10, kensho_rand01, kensho_rand02, kensho_rand03, kensho_rand04, kensho_rand05, kensho_rand06, kensho_rand07, kensho_rand08, kensho_rand09, kensho_rand10
Case Name Status Exec Time Memory
00_sample_01.txt AC 20 ms 676 KB
00_sample_02.txt AC 22 ms 800 KB
kensho_diff01 AC 21 ms 932 KB
kensho_diff02 AC 21 ms 680 KB
kensho_diff03 AC 21 ms 676 KB
kensho_diff04 AC 20 ms 924 KB
kensho_diff05 AC 20 ms 800 KB
kensho_min-max01 AC 21 ms 800 KB
kensho_min-max02 AC 20 ms 784 KB
kensho_min-max03 AC 21 ms 804 KB
kensho_min-max04 AC 20 ms 676 KB
kensho_min-max05 AC 22 ms 800 KB
kensho_min-max06 AC 21 ms 808 KB
kensho_min-max07 AC 21 ms 760 KB
kensho_min-max08 AC 21 ms 808 KB
kensho_min-max09 AC 21 ms 804 KB
kensho_min-max10 AC 21 ms 808 KB
kensho_rand01 AC 20 ms 792 KB
kensho_rand02 AC 21 ms 676 KB
kensho_rand03 AC 19 ms 760 KB
kensho_rand04 AC 21 ms 680 KB
kensho_rand05 AC 20 ms 676 KB
kensho_rand06 AC 20 ms 752 KB
kensho_rand07 AC 21 ms 680 KB
kensho_rand08 AC 20 ms 680 KB
kensho_rand09 AC 21 ms 756 KB
kensho_rand10 AC 21 ms 804 KB