Codeforces Round #739 (Div. 3)
文章目录ABCDEAPolycarp doesn’t like integers that are divisible by 3 or end with the digit 3 in their decimal representation.t (1≤t≤100) k (1≤k≤1000)题意: 找出第 k 个既不是 3 的倍数,也不是以 3 结尾的正整数。思路: 打表 找出符合条件的前 1000 个数#include<bits/stdc++.h>using namespace s
原创
2021-08-19 09:29:17 ·
122 阅读 ·
0 评论