Bump
I notice that there are only around a 100 topics in this playlist. Is this really sufficient in helping me improve from a novice to a red rated coder?
Why do I keep receiving an error?
#include#include#include#include#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;string rotation(string s, long long n) {if ((s.length()) < n) {string temp = s;for (long long i = (s.length() - 1); i > 0; i--) {
Comments on my solution?
#include <bits/stdc++.h>
using namespace std;
int main() {
int n; cin >> n;
int arr[n];
for (int i = 0; i < n; i++) {
cin >> arr[i];
}
int current = 0;
pair<int, int> maxCoords;
int currentMax = 0;
Comments on this accepted C++ solution?
#include <bits/stdc++.h>
using namespace std;
int main() {
int n1, n2, n3; cin >> n1 >> n2 >> n3;
int pop = n1 + n2 + n3;
int ids[pop];
vector<int> reIds;
for (int i = 0; i < pop; i++) {
cin >> ids[i];
}
sort(ids, ids + pop);