Submission #4560432
Source Code Expand
#include <iostream> #include <queue> #include <vector> #include <string> #include <map> #include <set> #include <algorithm> #include <cmath> #include <iomanip> using namespace std; #define REP(i,n) for(ll (i) = (0); (i) < (n); ++i) #define PB push_back #define MP make_pair #define FI first #define SE second #define ALL(v) v.begin(),v.end() #define INF 1100000000 #define LLINF 1000000000000000000LL #define MOD 1000000007 #define Decimal fixed << setprecision(20) #define SHOWP(x) cerr<<"["<<(x).FI<<", "<<(x).SE<<"]"; #define SHOWX(x) cerr<<#x<<": "<<x<<endl; #define SHOWVEC(v, e) REP(i, e) cerr << (v[i]) << ' '; cerr << endl; #define SHOW2D(a, h, w) REP(i, h){REP(j, w)cerr<<setw(3)<<(a[i][j])<<' ';cerr<<endl;} typedef long long ll; typedef pair<ll, ll> P; int main() { int N, M; cin >> N >> M; if (M == 1) cout << 2 << endl; else cout << 1 << endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - クイズゲーム |
User | bombra108 |
Language | C++14 (GCC 5.4.1) |
Score | 100 |
Code Size | 919 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 | test_2-1.txt, test_2-2.txt, test_3-1.txt, test_3-2.txt, test_3-3.txt, test_4-1.txt, test_4-2.txt, test_4-3.txt, test_4-4.txt, test_5-1.txt, test_5-2.txt, test_5-3.txt, test_5-4.txt, test_5-5.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
test_2-1.txt | AC | 1 ms | 256 KB |
test_2-2.txt | AC | 1 ms | 256 KB |
test_3-1.txt | AC | 1 ms | 256 KB |
test_3-2.txt | AC | 1 ms | 256 KB |
test_3-3.txt | AC | 1 ms | 256 KB |
test_4-1.txt | AC | 1 ms | 256 KB |
test_4-2.txt | AC | 1 ms | 256 KB |
test_4-3.txt | AC | 1 ms | 256 KB |
test_4-4.txt | AC | 1 ms | 256 KB |
test_5-1.txt | AC | 1 ms | 256 KB |
test_5-2.txt | AC | 1 ms | 256 KB |
test_5-3.txt | AC | 1 ms | 256 KB |
test_5-4.txt | AC | 1 ms | 256 KB |
test_5-5.txt | AC | 1 ms | 256 KB |