Borderou de evaluare (job #1023992)

Utilizator romykPrehari Romica romyk Data 7 noiembrie 2013 23:09:29
Problema Muzeu Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘tryc’: user.c:16:13: warning: implicit declaration of function ‘solve’ [-Wimplicit-function-declaration] solve(pi-1,pj,k,drum); ^ user.c: At top level: user.c:36:6: warning: conflicting types for ‘solve’ [enabled by default] void solve(int pi,int pj,int k,int drum[2][100]) ^ user.c:16:13: note: previous implicit declaration of ‘solve’ was here solve(pi-1,pj,k,drum); ^ user.c: In function ‘main’: user.c:59:6: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[100]’ [-Wformat=] { fscanf(f,"%s\n",&line); ^ user.c:81:5: warning: passing argument 4 of ‘solve’ from incompatible pointer type [enabled by default] solve(paz[1][lp],paz[2][lp],0,&drum); ^ user.c:36:6: note: expected ‘int (*)[100]’ but argument is of type ‘int (*)[2][100]’ void solve(int pi,int pj,int k,int drum[2][100]) ^ user.c: In function ‘tryc’: user.c:33:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK10
2Depăşit236kbTime limit exceeded.0
34ms272kbKilled by signal 11(SIGSEGV).0
44ms392kbKilled by signal 11(SIGSEGV).0
50ms240kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
74ms484kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
94ms572kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?