摘要: #include<iostream>using namespace std;int main() { int n,i; bool flag = true; for (n = 10;n < 100;n++) { for (i = 2;i < n / 2;i++) { if (n%i == 0) fla 阅读全文
posted @ 2017-07-20 20:23 Isaacgy 阅读(205) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main() { int ra; for (int ra = 1;ra <= 50;ra++) { if (4 * ra + 2 * (50 - ra) == 160) cout << 50 - ra << " " 阅读全文
posted @ 2017-07-20 18:49 Isaacgy 阅读(290) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main() { int n, t,s=0; cin >> n >> t; int a[20]; for (int i = 0;i < n;i++) { cin >> a[i]; if (a[i] < t) s++; 阅读全文
posted @ 2017-07-20 18:33 Isaacgy 阅读(159) 评论(0) 推荐(0)