牛客220342445号
牛客220342445号
全部文章
分类
归档
标签
去牛客网
登录
/
注册
牛客220342445号的博客
全部文章
(共5篇)
堆优化dijkstra
#include<iostream> #include<cstring> #include<queue> #include<vector> using namespace std; typedef struct node{ int x, w; ...
2024-03-24
1
307
题解 | #【模板】单源最短路2#
#include<iostream> #include<vector> #include<queue> #include<cstring> using namespace std; typedef struct node{ int x, w; //可...
C++
贪心
2024-03-24
0
220
题解 | #【模板】链表#
#include <iostream> using namespace std; typedef struct node{ int data; struct node *next; }node; node *L = NULL; void ins(int x, int y)...
2024-03-24
0
243
题解 | #计算某字符出现次数#
#include <iostream> #include <string> using namespace std; int main() { string a; char b, c = 0; getline(cin, a); cin>...
2024-01-01
0
216
题解 | #返回顾客名称和相关订单号以及每个订单的总价#
select cust_name, c.order_num, orderTotal from Customers a, Orders b, ( select order_num, sum(quantity*item_price)OrderTotal from OrderItems ...
2023-03-12
0
286