why OJ gave my code Output Limit Exceeded? :evil: :evil: :evil:
i didnt see anything that could give me that.
[c]
/*@JUDGE_ID: XXXXX 10245 C*/
#include <stdio.h>
#include <math.h>
#define MAX 10002
typedef struct {
unsigned long x, y;
} tdata;
tdata data[MAX];
int main () {
int jum, i, j ...
Search found 7 matches
- Mon Mar 31, 2003 6:08 am
- Forum: Volume 102 (10200-10299)
- Topic: 10245 - The Closest Pair Problem
- Replies: 92
- Views: 33522
- Fri Mar 21, 2003 4:51 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152630
- Thu Mar 20, 2003 3:31 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152630
- Thu Mar 20, 2003 10:05 am
- Forum: C
- Topic: unsigned long long in C
- Replies: 7
- Views: 3730
- Thu Mar 20, 2003 9:09 am
- Forum: Volume 100 (10000-10099)
- Topic: 10038 - Jolly Jumpers
- Replies: 445
- Views: 152630
10038 - Jolly Jumper WA
i'm sure this is an easy problem, but however i always got WA :(
are there any special cases?
i've handled for a sigle integer.
[c]
/*@JUDGE_ID: XXXXX 10038 C*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX 3000
int main () {
char isjolly, selisih[MAX], dif;
long data ...
are there any special cases?
i've handled for a sigle integer.
[c]
/*@JUDGE_ID: XXXXX 10038 C*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX 3000
int main () {
char isjolly, selisih[MAX], dif;
long data ...
- Thu Mar 20, 2003 4:57 am
- Forum: C
- Topic: unsigned long long in C
- Replies: 7
- Views: 3730
unsigned long long in C
how to use unsigned long long in C? was my syntax error?
[c]
#include <stdio.h>
int main() {
unsigned long long a;
scanf ("%llu", &a);
printf ("%llu", a);
return 0;
}
[/c]
input :
1234567890
output :
2883627802384794322
how can this happened?
thanks before.
[c]
#include <stdio.h>
int main() {
unsigned long long a;
scanf ("%llu", &a);
printf ("%llu", a);
return 0;
}
[/c]
input :
1234567890
output :
2883627802384794322
how can this happened?
thanks before.
- Wed Mar 19, 2003 3:30 pm
- Forum: Volume 4 (400-499)
- Topic: 469 - Wetlands of Florida
- Replies: 63
- Views: 32338