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(
相關文章
相關標籤/搜索