摘要:
#include<iostream>using namespace std;int main(void) { int m,n,x,y=0,i; while(cin>>m>>n) { for(i=m; i<=n; i++) { if(i%2==0) x+=i*i; else y=y+i*i*i; } 阅读全文
posted @ 2020-02-19 11:28
heroin1
阅读(141)
评论(0)
推荐(0)
摘要:
#include<iostream>using namespace std;int main(void) { int x,y,z,i,day=0; char m,n; int flag=0; int a[12]= {31,28,31,30,31,30,31,31,30,31,30,31}; int 阅读全文
posted @ 2020-02-19 11:14
heroin1
阅读(82)
评论(0)
推荐(0)
摘要:
#include <stdio.h>int main(){ int t; while(scanf("%d",&t)!=EOF) { if(t>=0&&t<=100) { t=t/10; switch(t) { case 10: case 9: printf("A\n"); break; case 8 阅读全文
posted @ 2020-02-19 10:10
heroin1
阅读(186)
评论(0)
推荐(0)

浙公网安备 33010602011771号