2016年6月20日 星期一

(chicken) 158A. Next Round

http://codeforces.com/contest/158/submission/18616128

http://codeforces.com/contest/158/problem/A

#include <iostream>
using namespace std;

#define CHICKEN int main()
#define CHICKEn int
#define CHICKeN(chicken) cin>>chicken;
#define CHICKen(chicken) for(int chiCKEN=0;chicken>chiCKEN;chiCKEN++)
#define CHICkEN 0
#define CHIcken if
#define chIckEN 1
#define CHIckeN and
#define chICKEN(chicken) cout<<chicken<<endl;


CHICKEN {
 CHICKEn chicken,chickeN;
 CHICKeN(chicken)
 CHICKeN(chickeN)
 CHICKEn chickEn[chicken];
 CHICKen(chicken) CHICKeN(chickEn[chiCKEN]);
 CHICKEn chickEN = CHICkEN;
 CHICKen(chicken) {
  CHIcken(chickEn[chiCKEN] >= chickEn[chickeN-chIckEN] CHIckeN chickEn[chiCKEN]!=CHICkEN) chickEN += chIckEN;
 }
 chICKEN(chickEN)
}


沒有留言:

張貼留言