Borderou de evaluare (job #1516123)

Utilizator nicuvladNicu Vlad nicuvlad Data 2 noiembrie 2015 19:08:46
Problema Loto Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:63:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=] if (xx==0) fprintf(g,"%ld\n",-1); ^ user.cpp:42:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld %ld\n", &n, &sum); ^ user.cpp:44:46: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (i=1; i<=n; i++) fscanf(f,"%ld", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK!55
20ms280kbOK!55
30ms276kbOK!515
40ms292kbOK!5
540ms5648kbOK!5
644ms5640kbOK!515
70ms460kbOK!5
80ms536kbOK!5
944ms5636kbOK!515
104ms784kbOK!5
114ms964kbOK!5
128ms1148kbOK!55
1312ms1704kbOK!55
1416ms2068kbOK!55
1524ms2560kbOK!55
1628ms3148kbOK!55
1740ms4068kbOK!55
1852ms4884kbOK!55
1956ms5332kbOK!55
2060ms5636kbOK!55
Punctaj total100

Ceva nu functioneaza?