Search found 6 matches
- Mon Sep 22, 2008 2:21 am
- Forum: Volume 5 (500-599)
- Topic: 579 - Clock Hands
- Replies: 44
- Views: 22768
Re: 579 - ClockHands
I just removed the arrays like "[NUM]", and modified my I/O to one output following one input. Then, I got AC. Although I ever kept arrays and modified my I/O to one output following one input similarly, I still got RE. I thought there is sth wrong with my array. Anyway thank everyone for skimming ...
- Sun Sep 21, 2008 3:44 pm
- Forum: Volume 5 (500-599)
- Topic: 579 - Clock Hands
- Replies: 44
- Views: 22768
579 - ClockHands
Could anyone give me some tips about my code ? I just tested my program with others' test data without problems. But I got the RE(Runtime Error) from Uva system. Please tell me what's wrong with my program.
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#define NUM 9999
int main ...
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#define NUM 9999
int main ...
- Thu Mar 02, 2006 8:41 am
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 18920
- Wed Mar 01, 2006 12:18 pm
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 18920
- Wed Mar 01, 2006 7:47 am
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 18920
- Tue Feb 28, 2006 5:45 pm
- Forum: Volume 4 (400-499)
- Topic: 476 - Points in Figures: Rectangles
- Replies: 87
- Views: 18920
476 Runtime Error
I just tested my program and got correct answers on my PC. But I got a RE when submitting ? May anybody give me a hand ?
---
#include <stdlib.h>
#include <stdio.h>
class Rectangle
{
public:
int id;
float x1,y1,x2,y2;
/*Rectangle* m_next;
Rectangle* m_last;*/
Rectangle(int i)
{
id = i ...
---
#include <stdlib.h>
#include <stdio.h>
class Rectangle
{
public:
int id;
float x1,y1,x2,y2;
/*Rectangle* m_next;
Rectangle* m_last;*/
Rectangle(int i)
{
id = i ...