摘要: 1 #include 2 using namespace std ; 3 int main() 4 { 5 int n ; 6 while(cin >> n) { 7 int sum = 1 2 #include 3 using namespace ... 阅读全文
posted @ 2015-03-19 21:02 NYNU_ACM 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: #include#includeusing namespace std ;int main(){ int n; while(cin>>n) { int score, score_sum = 0; for(int i=0;i>score ; ... 阅读全文
posted @ 2015-03-19 20:41 NYNU_ACM 阅读(9469) 评论(1) 推荐(0) 编辑
摘要: #include using namespace std;int main(){ int x,y; bool prime; for(x=1;x<200;x++) { for(y=x+1;y<=x+8;y++) { prime=false; if(x*y==6*(x+y))... 阅读全文
posted @ 2015-03-19 20:25 NYNU_ACM 阅读(411) 评论(0) 推荐(0) 编辑