#include<iostream>
#include<stdio.h>
#include<vector>
using namespace std; int main()
{
//freopen("acm.acm","r",stdin);
vector<int> coll;
int num = ;
int a;
while(cin>>a)
{
coll.push_back(a);
}
vector<int>::iterator pos;
for(pos = coll.begin(); pos != coll.end(); ++ pos)
{
if(*pos < num)
{
cout<<"CRASH "<<*pos<<endl;
break;
}
}
if(pos == coll.end())
cout<<"NO CRASH"<<endl;
}
相关文章
- POJ1226 Substrings ——后缀数组 or 暴力+strstr()函数 最长公共子串
- bzoj 1705;poj 3612:[Usaco2007 Nov]Telephone Wire 架设电话线
- poj 1180 斜率优化dp
- 《挑战程序设计竞赛》2.3 动态规划-优化递推 POJ1742 3046 3181
- poj1182食物链_并查集_挑战程序设计竞赛例题
- 挑战程序竞赛 反转开关 poj3276
- 01分数规划POJ3621(最优比例生成环)
- poj2488--A Knight's Journey(dfs,骑士问题)
- 【POJ3071】Football - 状态压缩+期望 DP
- poj1151 Atlantis (线段树+扫描线+离散化)