网站首页
编程语言
数据库
系统相关
其他分享
编程问答
Pui
2023-01-15
GYM 101522 La Salle-Pui Ching Programming Challenge 培正喇沙編程挑戰賽 2017
C.Cheering题意:判断一个字符串中\(LSC\),\(PCMS\)哪个字符穿出现的次数多,如果一样多输出\(Tie\)思路:模拟就行signedmain(){std::strings;
2023-01-12
La Salle-Pui Ching Programming Challenge 培正喇沙編程挑戰賽 2017
练习题目来源A-AmbiguousDatas题意定义一年\(M\)个月,每个月\(Di\)天,现在日期有两种表达方式dd/mm/year和mm/dd/year,这样会产生歧义,例如,1/2/12就是歧义的,而1/1
2022-10-24
La Salle-Pui Ching Programming Challenge 培正喇沙編程挑戰賽 2017
AAmbiguousDates贪心,从小到大取日期#include<bits/stdc++.h>usingnamespacestd;#define#define#define#define#define#define#define#define#define#define#define#def