摘要: #include<iostream> using namespace std; int main() { int n; int sum = 0; int num[200]; cin >> n; if (n >= 3 && n <= 100) { for (int a = 0; a < n; a++) 阅读全文
posted @ 2017-10-11 22:01 Ruohua3kou 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 自答:23ms 500.0 KiB #include<iostream>#include<string>using namespace std;class student {public: string name; int averMark; int classMark; char cadre; c 阅读全文
posted @ 2017-10-11 15:10 Ruohua3kou 阅读(72) 评论(0) 推荐(0) 编辑
摘要: 自答【119ms内存456.0 KiB】 #include<iostream>using namespace std;int num = 0;void judge(int n, int x) { int t = n % 10; if (n != 0 || t != 0) if (x == t || 阅读全文
posted @ 2017-10-11 14:38 Ruohua3kou 阅读(131) 评论(0) 推荐(0) 编辑