文章列表
精品文章
while循环知识点
摘要:我们学习了while循环,我来给各位整理一下笔记#includeusing namespace std;
int main()
{
int i=1;
while(i<=n) ……
错题笔记(关于逗号运算符的)
摘要:有以下程序:
fun(int x,int y)
{return x+y;}
main()
{
int a=1,b=2,c=3,sum;
sum=fun((a++,b++,a+b),c++)……
cc++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
摘要:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,sum=0,sum1=0,aaa=0; cin>>a;……
蛇形矩阵C语言 简单明了(带注释)
摘要:#include<stdio.h>//蛇形矩阵int main(){ int n,i,j; scanf("%d",&n); int space,num = 1; fo……
堆排序,提取前K个值
摘要:```cpp
class Solution {
public:
//维护堆的性质
void maxHeapify(vector &nums, int change, int Heap……
lrc解析器 other.c 3
摘要://other.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#incl……
lrc解析 other.h 2
摘要://other.h文件#ifndef __OTHER_H__ //防止重定义格式#define __OTHER_H__struct lrc { //定义一个链表串起时间和歌词 ……
lrc解析 main.c 1
摘要://main.c#include<stdio.h>#include<ctype.h>#include<stdlib.h>#include<string.h>#include<time.h>#inclu……