滁州学院2021年“新年杯”程序设计大赛暨ACM算法创新实验室选拔赛题解
A、滁大七十周年校庆 — 趣味竞答
签到题,直接暴力模拟即可。
#include<bits/stdc++.h>
using namespace std;
int main(){
int t;
//输入t
cin >> t;
//处理t组数据
while(t--){
//ans用来统计结果
int ans = 0;
int l, r;
//输入l和r
原创
2021-01-06 14:49:54 ·
740 阅读 ·
0 评论