自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 colab保持连接

colab保持连接网上保持colab连接的方法普遍单一,而且有一些小瑕疵。于是稍做了一些改善。 function ClickConnect(){ colab.config console.log("循环执行Start"); document.querySelector("#top-toolbar > colab-connect-button").shadowRoot.querySelector("#connect").click();

2021-12-15 22:33:56 933

原创 vscode配置c/c++

c_cpp_properties.json:{ "configurations": [ { "name": "MinGW64", "intelliSenseMode": "gcc-x64", "compilerPath": "C:\\Program Files\\mingw64\\bin\\g++.exe",//改路径 "includePath": [ "

2021-03-28 21:49:58 80

原创 2971 Problem H C语言习题5.17--求两数的商

2971 Problem H C语言习题5.17--求两数的商#include <stdio.h>void div(int m,int n,int digits); /* 函数声明 */int main(){ int m,n,digits; scanf("%d%d%d",&m,&n,&digits); div(m,n,digits); return 0;}void div(int m,int n,int digits)

2020-11-10 21:04:30 639

原创 啤酒和饮料

EOF while (scanf("%lf",&s)!=EOF)改版的啤酒和饮料#include<stdio.h>int main(){ double a,b; int i,j; int n=1; double s = 82.3; while (scanf("%lf",&s)!=EOF) { s = s*10; for (i = 1; i * 23 < s; i++) {

2020-10-25 20:03:36 249

原创 蓝桥杯 奇怪的分式

蓝桥杯 奇怪的分式#include<stdio.h>int main(){ int n = 0; for (int a = 1; a <= 9; a++){ for (int b = 1;b < =9;b++){ if (a != b){ for (int x = 1; x <= 9; x++){ for (int y = 1; y &

2020-10-25 17:06:31 86

原创 有趣的完数

完数#include<stdio.h>int main() { int N; scanf("%d",&N); int sum; int a = 0; for (int i = 2;i < N ;i++) { //1.找出完数 sum = 0; //1.(1)遍历 1至N for (int j = 1;j < i;j++) { //1.(2)遍

2020-10-25 16:18:19 52

原创 第n个至第m个素数的和

package nm质数和;import java.util.Scanner;public class Main { public static void main(String[] args) { int n , m; int cnt = 0; int sum = 0; int x, y; Scanner in = new Scanner(System.in); n = in.nextInt(

2020-10-10 12:57:28 61

原创 水仙花数

1. 水仙花数(自写)#include <stdio.h>#include <Math.h>int main() { int N; scanf("%d",&N); int n,a,b; int x,y; x = pow(10,N-1); y = pow(10,N)-1; if (N < 7) { for (n = x; n < y; n++) { int m..

2020-10-10 12:53:19 65

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除