解题思路:
注意事项:
参考代码:
#include<iostream> using namespace std; int main() { int n; while(cin>>n) { int m; cin>>m; m+=30; int rest=n; int a=0; while(n--) { cin>>a; if(m>=a) rest--; } cout<<rest<<endl; } return 0; }
0.0分
0 人评分
C语言训练-邮票组合问题* (C语言代码)......浏览:650 |
简单的a+b (C语言代码)浏览:677 |
拆分位数 (C语言代码)浏览:1328 |
C语言训练-求PI* (C语言代码)浏览:614 |
WU-拆分位数 (C++代码)浏览:787 |
简单的a+b (C语言代码)浏览:817 |
简单的a+b (C语言代码)浏览:952 |
1052题解(链表操作)浏览:674 |
A+B for Input-Output Practice (I) (C语言代码)浏览:574 |
C语言程序设计教程(第三版)课后习题11.3 (C语言代码)浏览:2166 |