Submission #186783
Source Code Expand
#include <iostream> #include <cstdio> #include <queue> #include <stack> #include <vector> #include <algorithm> #include <string> #include <cstring> #include <cmath> #include <complex> #include <map> #include <climits> #include <cstdio> using namespace std; #define reep(i,a,b) for(int i=(a);i<(b);++i) #define rep(i,n) reep((i),0,(n)) #define ALL(v) (v).begin(),(v).end() #define PB push_back #define EPS 1e-8 #define F first #define S second #define mkp make_pair static const double PI=6*asin(0.5); typedef long long ll; typedef complex<double> CP; typedef pair<int,int> pii; typedef pair<ll,ll> pll; typedef vector<int> vint; static const int INF=1<<24; template <class T> void initvv(vector<vector<T> > &v,int a,int b, const T &t = T()){ v.assign(a,vector<T>(b,t)); } int main(){ int a,b,c; string s1,s2; cin>>a; if(a==12) cout<<1<<endl; else cout<<a+1<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 来月は何月? |
User | j_gui0121 |
Language | C++ (G++ 4.6.4) |
Score | 100 |
Code Size | 931 Byte |
Status | AC |
Exec Time | 23 ms |
Memory | 924 KB |
Judge Result
Set Name | All | ||
---|---|---|---|
Score / Max Score | 100 / 100 | ||
Status |
|
Set Name | Test Cases |
---|---|
All | test_1.txt, test_10.txt, test_11.txt, test_12.txt, test_2.txt, test_3.txt, test_4.txt, test_5.txt, test_6.txt, test_7.txt, test_8.txt, test_9.txt |
Case Name | Status | Exec Time | Memory |
---|---|---|---|
test_1.txt | AC | 23 ms | 796 KB |
test_10.txt | AC | 23 ms | 808 KB |
test_11.txt | AC | 23 ms | 796 KB |
test_12.txt | AC | 23 ms | 808 KB |
test_2.txt | AC | 23 ms | 808 KB |
test_3.txt | AC | 23 ms | 796 KB |
test_4.txt | AC | 23 ms | 924 KB |
test_5.txt | AC | 23 ms | 672 KB |
test_6.txt | AC | 23 ms | 796 KB |
test_7.txt | AC | 23 ms | 676 KB |
test_8.txt | AC | 22 ms | 924 KB |
test_9.txt | AC | 23 ms | 796 KB |