Borderou de evaluare (job #1254516)

Utilizator Marius7122FMI Ciltea Marian Marius7122 Data 2 noiembrie 2014 20:39:57
Problema Permutari II Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 85

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f1,"%ld",&n); ^ user.cpp:24:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f1,"%ld",&v[0][i]); ^ user.cpp:55:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] fprintf(f2,"%ld",cm); ^ user.cpp:57:28: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] else fprintf(f2,"%ld",k); ^ user.cpp:20:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%ld",&n); ^ user.cpp:24:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f1,"%ld",&v[0][i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit400kbTime limit exceeded.0
20ms260kbCorect!5
30ms260kbCorect!5
40ms252kbCorect!5
5Depăşit312kbTime limit exceeded.0
60ms264kbCorect!5
70ms256kbCorect!5
80ms252kbCorect!5
90ms260kbCorect!5
10Depăşit308kbTime limit exceeded.0
110ms260kbCorect!5
1224ms292kbCorect!5
130ms256kbCorect!5
140ms256kbCorect!5
150ms252kbCorect!5
160ms256kbCorect!5
170ms264kbCorect!5
188ms276kbCorect!5
190ms256kbCorect!5
200ms256kbCorect!5
Punctaj total85

Ceva nu functioneaza?