现在的位置: 首页 > 综合 > 正文

hdoj1037

2019年08月01日 ⁄ 综合 ⁄ 共 241字 ⁄ 字号 评论关闭

链接:
http://acm.hdu.edu.cn/showproblem.php?pid=1037

//水题
#include <iostream>

using namespace std;

int main()
{
 int a, b, c, min;
 while (cin >> a >> b >> c) {
  min = a;
  if (b < min) min = b;
  if (c < min) min = c;
  if (min > 168) cout << "NO CRASH" << endl;
  else cout << "CRASH " << min << endl;
 }
 return 0;
}

 

【上篇】
【下篇】

抱歉!评论已关闭.