2020-06-21から1日間の記事一覧
こんにちは。ABC171でした。 5完でした!!! 即席解説記事行きます A 愚直な実装。 #include <bits/stdc++.h> using namespace std; int main(){ char x;cin>>x; if('A'<=x && x<='Z')cout<<"A\n"; else cout<<"a\n"; } B ソートして小さい方から $K$ 個取る。 #include <bits/stdc++.h> u</bits/stdc++.h></bits/stdc++.h>…