2017 Multi-University Training Contest 3 solutions 1011 RXD's date

来源:互联网 发布:淘宝最近搜过删不掉 编辑:程序博客网 时间:2024/06/05 20:16
一个签到题,目的在于吐槽浙江的高温

统计有多少数<=35<=35即可。

////  main.cpp//  RXD's date////  Created by wenhan on 2017/8/7.//  Copyright © 2017年 wenhan. All rights reserved.//#include <iostream>#include <cstdio>using namespace std;int main() {    int t;    cin>>t;    int s=0;    int x;    while (t--) {        scanf("%d",&x);        if(x<=35)            s++;    }    cout<<s<<endl;    // insert code here...    //std::cout << "Hello, World!\n";    return 0;}


阅读全文
0 0
原创粉丝点击