Borderou de evaluare (job #1791895)

Utilizator Emil64Emil Centiu Emil64 Data 29 octombrie 2016 20:16:19
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:38:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:38:21: warning: unused variable ‘op’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:38:25: warning: unused variable ‘a’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:38:28: warning: unused variable ‘b’ [-Wunused-variable] int i, j, n, m, op, a, b, ta, tb, cost=0, lg=0; ^ user.cpp:37:33: 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, 20000, stdin); ^ user.cpp: In function ‘void read(int&)’: user.cpp:29:134: 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 == 20000) fread(buff, 1, 20000, stdin), pos = 0;} ^ user.cpp:31:137: 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 == 20000) fread(buff, 1, 20000, stdin), pos = 0;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms224kbCorect10
20ms224kbCorect10
30ms240kbCorect10
40ms236kbCorect10
50ms244kbCorect10
652ms1716kbCorect10
7108ms2828kbCorect10
820ms808kbCorect10
916ms900kbCorect10
1088ms2524kbCorect10
Punctaj total100

Ceva nu functioneaza?