且未

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 20 21 22 23 24

2017年4月12日 #

摘要: 这道题我主要想说一下,数组开的不够大的时候出现了Runtime Error (ACCESS_VIOLATION)问题,我百度说的是数组开的不够大,然后我开了1000就对了,but我不知道为啥?#include i... 阅读全文
posted @ 2017-04-12 17:25 阿聊 阅读(101) 评论(0) 推荐(0)

摘要: //自己写的感觉自己写的复杂的要死#include int main(){int n,h,i,t1,t2,t3;int a[6];scanf("%d",&n);for(i=0;i0){t2=(a[1]+a[4]+... 阅读全文
posted @ 2017-04-12 16:24 阿聊 阅读(110) 评论(0) 推荐(0)

摘要: #include int main(){int n;int a[30][30];int i,j;while (~scanf("%d",&n)){if(!(n>=1&&n<=30))break;for(i=0;i<... 阅读全文
posted @ 2017-04-12 15:33 阿聊 阅读(99) 评论(0) 推荐(0)

2017年4月10日 #

摘要: 题目链接/*要说明的是,这道题不能用int 类型,要用字符类型。*/#include#includechar num[110];int main(){ while(~scanf("%s",num) && ... 阅读全文
posted @ 2017-04-10 21:09 阿聊 阅读(120) 评论(0) 推荐(0)

摘要: 题目链接#includeint main(){ int m,n; int b[50],i,j; while (~scanf("%d%d",&n,&m)) { j=0; if... 阅读全文
posted @ 2017-04-10 20:59 阿聊 阅读(78) 评论(0) 推荐(0)

上一页 1 ··· 20 21 22 23 24