打卡23
摘要: ~~~c++ #include #include using namespace std; #define
阅读全文
posted @
2023-05-26 12:09
许七安gyg
阅读(7)
推荐(0) 编辑
打卡21
摘要: ~~~c++ #include #include #include #include #include #i
阅读全文
posted @
2023-05-24 17:59
许七安gyg
阅读(1)
推荐(0) 编辑
打卡20
摘要:多态实例 ~~~c++ #include using namespace std; class Human { public: virtual void toilet() = 0; }; class Man :public Human { void toilet() { cout toilet();
阅读全文
posted @
2023-05-23 12:29
许七安gyg
阅读(4)
推荐(0) 编辑
打卡19
摘要:多态实例 ~~~c++ #include using namespace std; class Human { public: virtual void toilet() = 0; }; class Man :public Human { void toilet() { cout toilet();
阅读全文
posted @
2023-05-22 23:10
许七安gyg
阅读(2)
推荐(0) 编辑
打卡18
摘要: ~~~c++ #include #include #include using namespace std
阅读全文
posted @
2023-05-19 19:57
许七安gyg
阅读(2)
推荐(0) 编辑
打卡17
摘要:package org.example; import java.sql.SQLOutput; import java.util.*; // ������ Shift ���洦�������Ի������� `show whitespaces`�� // Ȼ�� Enter �������ڣ��
阅读全文
posted @
2023-05-16 19:15
许七安gyg
阅读(3)
推荐(0) 编辑
java打卡
摘要:写一个小的练习 学英语的接口 package lianxi; public interface English { public abstract void speakenglish(); } person基类 package lianxi; public class Person { privat
阅读全文
posted @
2023-05-16 01:37
许七安gyg
阅读(19)
推荐(0) 编辑
打卡15
摘要:ȫ���� c++���� #include<iostream> using namespace std; const int N = 10; int path[N]; bool st[N] = { 0 }; int n; void dfs(int u) { if (u > n) { for (in
阅读全文
posted @
2023-05-14 21:05
许七安gyg
阅读(15)
推荐(0) 编辑
打卡12
摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); while(true) { String str=sc.ne
阅读全文
posted @
2023-05-11 12:52
许七安gyg
阅读(7)
推荐(0) 编辑
打卡10
摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); String[] strs=sc.nextLine().sp
阅读全文
posted @
2023-05-09 09:02
许七安gyg
阅读(10)
推荐(0) 编辑
打卡9.(偏移量)
摘要:#图解 #代码 ##java代码实现 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.ne
阅读全文
posted @
2023-05-08 08:44
许七安gyg
阅读(38)
推荐(0) 编辑
打卡8
摘要:import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int sum=0,
阅读全文
posted @
2023-05-05 20:06
许七安gyg
阅读(12)
推荐(0) 编辑
打卡7
摘要:样例 解析:就是相当于找该位置到上下左右边界的最短距离 ··· import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in)
阅读全文
posted @
2023-05-04 18:14
许七安gyg
阅读(15)
推荐(0) 编辑