07 2025 档案

摘要:P8661 主要知识点:结构体,sort倒排,自定义函数,循环结构 点击查看代码 #include<bits/stdc++.h> using namespace std; struct node{() int a,b; }a[100005]; int n,d,k; int cmp(node x,no 阅读全文
posted @ 2025-07-21 18:46 烈空坐 阅读(6) 评论(0) 推荐(0)
摘要:A 点击查看代码 #include <stdio.h> int n, ans; int main() { scanf("%d", &n); for (int i = 1, a, b; i <= n; i++) { scanf("%d %d", &a, &b); if (a < b) ans++; } 阅读全文
posted @ 2025-07-04 20:42 烈空坐 阅读(38) 评论(0) 推荐(0)