Search found 2 matches

by RodrigoPereira
Tue May 25, 2004 10:49 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 51097

Thanx a lot, JoD! No more RTE!!! :lol:

...but i got WA :cry:

...does somebody have an input/output test?????
by RodrigoPereira
Mon May 17, 2004 9:41 pm
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 51097

10340 why RTE?

:cry: It runs ok, but the judge returns RTE (Illegal Memory Reference). Why???

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

int main(){
char * s = (char *)malloc(sizeof(char));
char * t = (char *)malloc(sizeof(char));

int i, tam, pos;
char c;

while (scanf("%s %s", s, t ...

Go to advanced search