![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C语言
文章平均质量分 54
yingzi___belief
记录我的成长
展开
-
C语言--图书管理系统待续版
#include #include #include struct lib_book{ int num; char name[20]; struct lib_book *next; }; struct lib_book *information(); /*录入图书信息*/ struct lib_book *back_book(struct lib_原创 2016-10-04 21:22:54 · 629 阅读 · 0 评论 -
1000:ZCMU_A+B(IV)
分析:这道题很简单,因为它没有对求和的数字范围进行限制,如果数量很庞大的话,会出现时间超限的问题。 本题需要注意两点:1.输入0时没有输出 2.每次求和时sum都需要清零。 AC代码: #include int main() { int N,i; while(~scanf("%d",&N)&&N){ int a[N]; int sum=0;原创 2017-09-27 15:41:46 · 453 阅读 · 1 评论