大连交通大学五年制C语言试卷三 考试笔记 摘要:5、在以下给出的表达式中,与do-while(E)语句中的(E)不等价的表达式是( )。答案:B A. (E>0||E<0) B. (E==0) C. (!E…… 文章列表 2023年07月07日 0 点赞 0 评论 166 浏览 评分:0.0
大连交通大学五年制C语言试卷七 考试笔记 摘要:7、在所有函数之前,定义一个外部变量的形式为static int x;那么错误的叙述是( )。正确答案:A A. x的值不可以永久保留 B. 将变量存放在静态存储区 …… 文章列表 2023年07月07日 0 点赞 0 评论 208 浏览 评分:0.0
lrc解析 main.c 1 摘要://main.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#inclu…… 文章列表 2023年07月08日 0 点赞 0 评论 147 浏览 评分:0.0
lrc解析 other.h 2 摘要://other.h文件#ifndef __OTHER_H__ //防止重定义格式#define __OTHER_H__struct lrc { //定义一个链表串起时间和歌词 …… 文章列表 2023年07月08日 0 点赞 0 评论 175 浏览 评分:0.0
lrc解析器 other.c 3 摘要://other.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#incl…… 文章列表 2023年07月08日 0 点赞 0 评论 149 浏览 评分:0.0
堆排序,提取前K个值 摘要:```cpp class Solution { public: //维护堆的性质 void maxHeapify(vector &nums, int change, int Heap…… 文章列表 2023年07月09日 0 点赞 0 评论 191 浏览 评分:0.0
错题笔记(关于逗号运算符的) 摘要:有以下程序: fun(int x,int y) {return x+y;} main() { int a=1,b=2,c=3,sum; sum=fun((a++,b++,a+b),c++)…… 文章列表 2023年07月12日 0 点赞 0 评论 320 浏览 评分:0.0
题目 1148: C语言训练-计算1977!* 摘要:#include<stdio.h>int main(){ int n = 1977; int a[20000]; int carry; int j, i; int digit = 1; int tem…… 文章列表 2023年07月15日 0 点赞 0 评论 222 浏览 评分:0.0
题目 1151: C语言训练-计算一个整数N的阶乘 摘要:#include<stdio.h>int main(){ int n = 0; scanf("%d",&n); long long int sum=1; if(n<0) { printf("输…… 文章列表 2023年07月15日 0 点赞 0 评论 192 浏览 评分:0.0
数字逆序输出(do-while) 摘要:```c #include int main() { int n,s; scanf("%d",&n); do { s=n%10;//取个位,打印出 pri…… 文章列表 2023年07月15日 0 点赞 0 评论 211 浏览 评分:0.0