摘要: 1.循环遍历所有车牌组合; 2.遍历所有T,找到车牌为T的平方的情况; 3.输出车牌 #include<iostream> using namespace std; int main(){ for(int i=0;i<=9;i++){ for(int j=0;j<=9;j++){ for(int k 阅读全文
posted @ 2023-04-13 20:15 The-rich 阅读(23) 评论(0) 推荐(0)
摘要: 设计思路: 1.给出一个天数。 2.判断距离目标的天数。 3.用距离天数%5,进行判断。 #include<iostream> using namespace std; int sum=0;int statemonth[13]={0,31,28,31,30,31,30,31,31,30,31,30, 阅读全文
posted @ 2023-04-13 15:07 The-rich 阅读(27) 评论(0) 推荐(0)