Search found 2 matches

by pioneerLike
Fri Jul 14, 2006 7:29 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43881

10018 [TLE] - Checked some place that may occur error,but...

Well......
I solve the problem in "int arrays".
It runs great on my computer, but obviously, OJ didn't think so.
Plz look at my code and give me some suggestions, thanks alot!

1:28AM, Taiwan.

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int count = 0;
int digits = 0;

void rev (int ...
by pioneerLike
Fri Jul 14, 2006 5:38 pm
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 43881

10018 WA - It seems all right on my computer

I've test all input datas which provided by other people.
It seems all right on my computer.
I used recursive func. to solve this problem, I know this is a bad way, but I think it should work?

So please give me some advice, thx.

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

long ...

Go to advanced search