2024年11月27日

每日一题:https://www.luogu.com.cn/problem/P5019

摘要: 题目链接:https://www.luogu.com.cn/problem/P5019 #include<iostream> #include<string> using namespace std; int main(){ int n; cin>>n; int arr[n+1]; int sum= 阅读全文

posted @ 2024-11-27 11:51 神奇猫猫侠 阅读(29) 评论(0) 推荐(0)

2024年11月26日

每日一题:https://www.luogu.com.cn/problem/P1106

摘要: 题目链接:https://www.luogu.com.cn/problem/P1106 #include<iostream> #include<string> using namespace std; int main(){ int n,k,mu; string num; int t=1,wei,t 阅读全文

posted @ 2024-11-26 09:25 神奇猫猫侠 阅读(49) 评论(0) 推荐(0)

2024年11月25日

每日一题:https://www.luogu.com.cn/problem/P1803

摘要: 题目链接:https://www.luogu.com.cn/problem/P1803 #include <iostream> #include <algorithm> #include <vector> using namespace std; int main(){ int ui; cin>>u 阅读全文

posted @ 2024-11-25 19:50 神奇猫猫侠 阅读(52) 评论(0) 推荐(0)

每日一题:https://www.luogu.com.cn/problem/P1223

摘要: 题目链接:https://www.luogu.com.cn/problem/P1223 #include < iostream> #include < algorithm> using namespace std; int main(){ int num; cin>>num; long long a 阅读全文

posted @ 2024-11-25 02:31 神奇猫猫侠 阅读(94) 评论(0) 推荐(0)

2024年11月23日

每日一题:https://codeforces.com/contest/2005/problem/B1

摘要: 题目链接:https://codeforces.com/contest/2005/problem/B1 (开局看掉m=2和q=1) include include using namespace std; int main(){ long u; cin>>u; for(;u>0;u--){ long 阅读全文

posted @ 2024-11-23 15:29 神奇猫猫侠 阅读(37) 评论(0) 推荐(0)

2024年11月19日

每日一题:https://leetcode.cn/problems/corporate-flight-bookings/

摘要: 题目链接:https://leetcode.cn/problems/corporate-flight-bookings/ int* corpFlightBookings(int** bookings, int bookingsSize, int* bookingsColSize, int n, in 阅读全文

posted @ 2024-11-19 12:36 神奇猫猫侠 阅读(12) 评论(0) 推荐(0)

2024年11月18日

每日一题:https://leetcode.cn/problems/car-pooling/

摘要: 题目链接:https://leetcode.cn/problems/car-pooling/ bool carPooling(int** trips, int tripsSize, int* tripsColSize, int capacity) { int arr[1100]; int max=0 阅读全文

posted @ 2024-11-18 13:17 神奇猫猫侠 阅读(14) 评论(0) 推荐(0)

2024年11月17日

每日一题:https://leetcode.cn/problems/check-if-all-the-integers-in-a-range-are-covered/description/

摘要: 题目链接:https://leetcode.cn/problems/check-if-all-the-integers-in-a-range-are-covered/description/ bool isCovered(int** ranges, int rangesSize, int* rang 阅读全文

posted @ 2024-11-17 18:32 神奇猫猫侠 阅读(6) 评论(0) 推荐(0)

每日一题:11月17日

摘要: 题目链接:https://codeforces.com/contest/2031/problem/B include using namespace std; int main(){ int n; cin>>n; for(int ni=0;ni<n;ni++){ int num; cin>>num; 阅读全文

posted @ 2024-11-17 01:07 神奇猫猫侠 阅读(11) 评论(0) 推荐(0)

2024年11月14日

每日一题 :https://www.luogu.com.cn/problem/P2249

摘要: include using namespace std; int main(){ int p,sum; cin>>p>>sum; int arr[p]; for(int i=0;i<p;i++){ cin>>arr[i]; } for(int i=1;i<=sum;i++){ int mubiao; 阅读全文

posted @ 2024-11-14 13:38 神奇猫猫侠 阅读(47) 评论(0) 推荐(0)

导航