Borderou de evaluare (job #2143350)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 25 februarie 2018 20:56:26
Problema Diff Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &v[i]); ^ user.cpp:13:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ user.cpp:15:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^ user.cpp:79:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &x); ^ user.cpp:20:9: warning: ‘x1’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, y1, x2, y2; ^ user.cpp:38:17: warning: ‘y1’ may be used uninitialized in this function [-Wmaybe-uninitialized] y1++; ^ user.cpp:20:17: warning: ‘x2’ may be used uninitialized in this function [-Wmaybe-uninitialized] int x1, y1, x2, y2; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1560kbOk!5
20ms1560kbOk!5
30ms1564kbOk!5
40ms1572kbOk!5
564ms1632kbOk!5
628ms2852kbOk!5
724ms2644kbOk!5
848ms3704kbOk!5
9188ms1648kbOk!5
10188ms1652kbOk!5
1128ms2844kbOk!5
12140ms1640kbOk!5
13164ms3088kbOk!5
14Depăşit3552kbTime limit exceeded.0
15Depăşit4360kbTime limit exceeded.0
16Depăşit4340kbTime limit exceeded.0
17Depăşit4364kbTime limit exceeded.0
18Depăşit4348kbTime limit exceeded.0
19Depăşit4356kbTime limit exceeded.0
20Depăşit4356kbTime limit exceeded.0
Punctaj total65

Ceva nu functioneaza?