源程序: /*//1、二维矩阵原样输出//2、转90度输出//3、每行最后增加一个元素,变成正方形矩阵输出//4、求矩阵中的最大值和最小值//5、求主对角线和副对角线之和*/#include <stdio.h>int main(){ int Numbers[4][3]={1,1,1, 2,4,8, ...
分类:
编程语言 时间:
2020-12-18 12:28:27
阅读次数:
2
鼠标+ALT完成列选择 列选择扩展(选定某一行) 文章引用来源 https://tahoeninjas.blog/2019/03/30/multi-cursor-editing-in-visual-studio-code/ ...
分类:
其他好文 时间:
2020-12-18 12:21:50
阅读次数:
3
文字叙述就省略: while是当条件为真时执行循环,下面是循环5次 #include<stdio.h> void main(){ int i=1; //定义一个整形,并给这个变量赋初值为1 while(i<=5){ //循环5次,并打印5个你好 printf("你好\n"); i++; } } ...
分类:
编程语言 时间:
2020-12-18 12:12:08
阅读次数:
2
为 VS Code 单独设置,避免改变系统代理带来的一些问题。 在快捷方式中附加以下命令即可: --proxy-server="http://127.0.0.1:7890" 7890是clash的端口号。 需要的 VS Code 插件: C/C++ - Visual Studio Marketpla ...
分类:
其他好文 时间:
2020-12-18 12:11:10
阅读次数:
4
https://github.com/haofanwang/Score-CAM Score-CAM: Score-Weighted Visual Explanations for Convolutional Neural Networks Abstract 近年来,卷积神经网络的内部机制以及网络做出 ...
分类:
其他好文 时间:
2020-12-17 12:02:29
阅读次数:
2
实验任务1 #include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", ...
分类:
其他好文 时间:
2020-12-16 12:27:41
阅读次数:
3
#include<stdio.h> long long fac( int n ); int main() { int i,n; printf("Enter n:"); scanf("%d",&n); for( i=1;i<=n;++i ) { printf("%d!=%11d\n",i,fac(i) ...
分类:
其他好文 时间:
2020-12-15 12:30:56
阅读次数:
3
#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,256,12,621,62,3462,6,89999,87}; int Max=add[0]; int Mini; for (int x = 0; x < g; x++ ...
分类:
编程语言 时间:
2020-12-15 12:25:59
阅读次数:
5
#include <stdio.h>#include <stdlib.h> int main(){ int add[] = { 1,256,12,621,62,3462,6,89999,87}; int g=sizeof(add) / sizeof(add[0]); printf("add数组的长度 ...
分类:
编程语言 时间:
2020-12-15 12:25:11
阅读次数:
4
#1.读入数据求圆面积 源码: #include <stdio.h> #define PI 3.14 main() { float r; float area; printf("请输入圆的半径r:\n"); scanf("%f",&r); area=PI*r*r; printf("这个圆的面积是:% ...
分类:
编程语言 时间:
2020-12-15 12:00:13
阅读次数:
5