摘要: 我感觉是这题出的有问题,第二个只说了字母,并没有说第二个大写字母...为啥就得从第一个大写字母后面开始检索呢。 #include <bits/stdc++.h> using namespace std; map<int,string> mp = {{1,"MON"},{2,"TUE"},{3,"WE 阅读全文
posted @ 2024-04-14 23:00 YuKiCheng 阅读(7) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; bool isPrime(int x){ if(x==1) return false; for(int i=2;i<=sqrt(x);i++){ if(x%i==0) return false; } retu 阅读全文
posted @ 2024-04-14 20:59 YuKiCheng 阅读(9) 评论(0) 推荐(0)