diff --git a/1828A Divisible Array/1828A.cpp b/1828A Divisible Array/1828A.cpp new file mode 100644 index 0000000..930cc13 --- /dev/null +++ b/1828A Divisible Array/1828A.cpp @@ -0,0 +1,39 @@ +#include +using namespace std; +using ll = long long; + +void solve() +{ + int n; + cin>>n; + int a[n+1]; + int sum = 0; + for (int i = 1; i <= n; ++i) + { + a[i] = i ; + sum = sum + i; + } + cerr<> TC; + cin.ignore(); + while (TC--) + solve(); +} \ No newline at end of file