Borderou de evaluare (job #1378505)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 6 martie 2015 12:39:50
Problema Ksecv3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘unsigned int*’ [-Wformat=] fscanf(f1,"%lu%lu",&n,&k); ^ user.cpp:8:29: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 4 has type ‘unsigned int*’ [-Wformat=] user.cpp:10:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘unsigned int*’ [-Wformat=] fscanf(f1,"%lu",&v[i]), ^ user.cpp:22:32: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat=] fprintf(f2,"%lu ",j); ^ user.cpp:8:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%lu%lu",&n,&k); ^ user.cpp:11:16: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] s+=v[i]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
30ms256kbOK10
40ms228kbKilled by signal 11(SIGSEGV).0
50ms296kbOK10
60ms292kbOK10
712msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
912msDepăşitMemory limit exceeded.0
1012msDepăşitMemory limit exceeded.0
Punctaj total50

Ceva nu functioneaza?