Search found 6 matches

by mic122
Mon Apr 09, 2012 10:34 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 7068

Re: 152 - Runtime error

Once I had RE but now all runs ok here...

Aaargh... For the following input :

Code: Select all

10 10 0
10 10 0
255 255 255
1 1 1
0 0 0
It wrote :

Code: Select all

 2 0 0 0 0 0 0 0 0 0
(ofc with the spaces)
by mic122
Mon Apr 09, 2012 10:32 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 320200

Re: 100 - Runtime error

Maybe it's the reason (application has died). I thought the given interval will suit to i <= j
by mic122
Mon Apr 09, 2012 10:28 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 7068

Re: 152 - Runtime error

For this in my output is the same
by mic122
Mon Apr 09, 2012 8:25 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 7068

Re: 152 WA, please help

I renew this topic. I got Runtime Error. Could sb explain what I have wrong ?

#include<iostream>
#include<vector>
#include<set>
#include<cmath>
#include<algorithm>
#include<iomanip>
#define rep(x,n) for (int x = 0; x < n; x++)
#define pb push_back
using namespace std;
struct tr
{
double x,y,z ...
by mic122
Mon Apr 09, 2012 1:13 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 320200

100 - Runtime error

Hi !

I also don't know why i get runtime error in this task. I checked this with the biggest possible tests. Could you look at, please ?

#include<iostream>
#include<vector>
#include<set>
#include<algorithm>
#define rep(x,n) for (int x = 0; x < n; x++)
#define pb push_back
#define straznik ...
by mic122
Mon Apr 09, 2012 1:07 pm
Forum: Volume 1 (100-199)
Topic: 152 - Tree's a Crowd
Replies: 30
Views: 7068

152 - Runtime error

Hi guys !

I've tried my programme on many cases and it finishes his work properly at my comp's. Just sending this code to Uva i get 'Runtime error'.

Please, check my code and tell what can be wrong, coz i'm just sick and tired of getting 'WA' or 'runtime error' sending almost every problem here ...

Go to advanced search