Borderou de evaluare (job #1798419)

Utilizator Emil64Emil Centiu Emil64 Data 5 noiembrie 2016 10:57:37
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:58:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:58:21: warning: unused variable ‘op’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:58:25: warning: unused variable ‘a’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:58:28: warning: unused variable ‘b’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:57:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buff, 1, 200000, stdin); ^ user.cpp: In function ‘void read(int&)’: user.cpp:42:136: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] while(buff[pos] < '0' || buff[pos] > '9'){if(buff[pos]== '-' )semn = -1; if(++pos == 200000) fread(buff, 1, 200000, stdin), pos = 0;} ^ user.cpp:44:139: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] while('0' <= buff[pos] && buff[pos] <= '9') {nr = nr * 10 + buff[pos] - '0';if(++pos == 200000) fread(buff, 1, 200000, stdin), pos = 0;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbCorect10
20ms240kbCorect10
30ms236kbCorect10
40ms252kbCorect10
50ms244kbCorect10
656ms1904kbCorect10
7112ms3016kbCorect10
820ms1000kbCorect10
916ms1080kbCorect10
1092ms2712kbCorect10
Punctaj total100

Ceva nu functioneaza?