Educational Codeforces Round 81 (题解)

第一次AK div2,有点小开心。html A. Display The Number 题目大意: 给 n n n个火柴棍,求能组成的最大的数字是多少。 解题思路: 贪心,若是是奇数那就第一位为7后面都是1,不然全是1.c++ #include<bits/stdc++.h> using namespace std; int main() { int T;cin>>T; while(
相关文章
相关标签/搜索