Search found 2 matches

by souravvv
Fri Apr 29, 2016 5:44 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 143568

10038 - Jolly Jumpers

I am getting RTE. WHY :( #include <iostream> #include <cmath> #include <vector> using namespace std; typedef long long int lli; int main(){ lli n,temp,index; vector <lli> data; vector <bool> check; bool result; while( 1 ){ cin >> n; if( n == 0 ) break; check.clear(); data.clear(); result = true; for...
by souravvv
Wed Feb 24, 2016 7:31 am
Forum: Volume 4 (400-499)
Topic: 414 - Machined Surfaces
Replies: 0
Views: 2286

414 - Machined Surfaces

Hi. I have written a solution for this problem. It compiles and produces correct result in my computer. But on the OJ it says runtime error. Help me find the problem. My code is this: #include <iostream> #include <string> #include <vector> using namespace std; typedef unsigned long long int ulli; in...

Go to advanced search