Codeforces Round #443 (Div. 2), problem: (C) Short Program Solution In C/C++

By |2017-11-08T09:24:01+00:00November 8th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , , |

#include <iostream> using namespace std; const int maxn = 5e5; int n, x, a = 0, b = 1023, y[3]; char c; int main() { cin >> n; for (int i = 0; i < n; i++) { cin >> c >> x; if [...]