• 2024-01-27AtCoder abc336 A-D题代码
    A题:#include<bits/stdc++.h>usingnamespacestd;intmain(){intn;cin>>n;cout<<"L"<<string(n,'o')<<"ng"<<endl;return0;}B题:#include<bits/stdc++
  • 2024-01-17D - Pyramid
    D-Pyramidhttps://atcoder.jp/contests/abc336/tasks/abc336_d思路https://blog.csdn.net/m0_63925226/article/details/135594715https://www.cnblogs.com/zfxyyy/p/17964302Codehttps://atcoder.jp/contests/abc336/submissions/49377226intn;inta[200005];int
  • 2024-01-17Atcoder 336 C
    题目链接https://atcoder.jp/contests/abc336/tasks/abc336_c一开始没有想到第N个数字与N之间的关系,但是在思考的过程中似乎发现了这几个数字与"5"有什么奇怪的联系。但是我想到这里时还没有将这道题和进制转换建立联系,只是觉得可以根据“5”的规律来推出第N个数字的各
  • 2024-01-14ABC336
    T1:LongLoong模拟代码实现n=int(input())print('L'+'o'*n+'ng')T2:CTZ__builtin_ctz或countr_zero代码实现#include<bits/stdc++.h>usingnamespacestd;intmain(){unsignedn;cin>>n;cout<