12 2021 档案

摘要:P1914 #include<iostream> #include<string.h> using namespace std; int main() { char s[51]; int n; scanf("%d",&n); scanf("%s",s); for(int i=0;i<strlen(s 阅读全文
posted @ 2021-12-18 09:16 Oranges 阅读(153) 评论(0) 推荐(0)
摘要:P1605 #include <iostream> #include <cstdio> #include <algorithm> #include <cmath> #include <cstring> using namespace std; int barrier[10][10]; int wal 阅读全文
posted @ 2021-12-11 09:11 Oranges 阅读(160) 评论(0) 推荐(1)
摘要:P1996 #include<stdio.h> #include<stdlib.h> struct people { int num; struct people *next; }; int main() { struct people *head,*t,*s,*p; head=(struct pe 阅读全文
posted @ 2021-12-04 10:55 Oranges 阅读(92) 评论(0) 推荐(0)
摘要:#include<bits/stdc++.h> using namespace std; struct edge{ int v; edge *next; }; int main(){ //创建 edge *head = (edge*)malloc(sizeof(edge)); head->next 阅读全文
posted @ 2021-12-04 10:09 Oranges 阅读(113) 评论(0) 推荐(0)