且未

博客园 首页 新随笔 联系 订阅 管理

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)