上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: include include using namespace std; struct People{ int id; string name; char sex; int year; }; int main(){ People people[10]; for(int i=0;i<10;i++){ 阅读全文
posted @ 2025-10-24 11:54 Cx330。 阅读(5) 评论(0) 推荐(0)
摘要: include include using namespace std; struct Student{ int id; string name; int score; }; int main(){ Student student[100]; int n=0; while(cin>>student[ 阅读全文
posted @ 2025-10-24 11:54 Cx330。 阅读(4) 评论(0) 推荐(0)
摘要: class Mammal{} class Dog extends Mammal {} class Cat extends Mammal{} public class TestCast { public static void main(String args[]) { Mammal m; Dog d 阅读全文
posted @ 2025-10-20 22:15 Cx330。 阅读(5) 评论(0) 推荐(0)
摘要: include include using namespace std; struct People{ int id; string name; char sex; int year; }; int main(){ People people[10]; for(int i=0;i<10;i++){ 阅读全文
posted @ 2025-10-19 15:59 Cx330。 阅读(5) 评论(0) 推荐(0)
摘要: include include using namespace std; struct Student{ int id; string name; int score; }; int main(){ Student student[100]; int n=0; while(cin>>student[ 阅读全文
posted @ 2025-10-19 15:58 Cx330。 阅读(7) 评论(0) 推荐(0)
摘要: List Merge(List l1,List l2){ PtrToNode dummy=(PtrToNode)malloc(sizeof(struct Node)); dummy->Next=null; PtrToNode tail=dummy; PtrToNode tail=dummy; Ptr 阅读全文
posted @ 2025-10-19 15:57 Cx330。 阅读(3) 评论(0) 推荐(0)
摘要: void ListInput(SqList &L){ ElemType x; L.length=0; while(cin>>x&&x!=-1){ if(L.length>=MAXSIZE){ cout<<"顺序表已满,无法继续输入!"<<endl; break; } L.elem[L.length+ 阅读全文
posted @ 2025-10-19 15:57 Cx330。 阅读(5) 评论(0) 推荐(0)
摘要: class Solution { public ListNode reverseList(ListNode head) { if(headnull||head.nextnull){ return head; } ListNode newhead=reverseList(head.next); hea 阅读全文
posted @ 2025-10-14 00:02 Cx330。 阅读(2) 评论(0) 推荐(0)
摘要: class Solution { public ListNode partition(ListNode head, int x) { ListNode small = new ListNode(0); ListNode smallHead = small; ListNode large = new 阅读全文
posted @ 2025-10-14 00:02 Cx330。 阅读(5) 评论(0) 推荐(0)
摘要: import java.util.*; import java.util.concurrent.TimeUnit; public class ArithmeticPractice { private Set generatedQuestions = new HashSet<>(); private 阅读全文
posted @ 2025-10-14 00:01 Cx330。 阅读(7) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页