Codeforces Round #407 (Div. 2), problem: (B) Masha and geometric depression Solution in C

By |2017-04-09T01:08:51+00:00April 9th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include <iostream> #include <map> using namespace std; map<long long, int> was; map<long long, int> bad; int main() { long long b, q, l, m; cin >> b >> q >> l >> m; for(int i = 0; i < m; i++) { long long [...]