Borderou de evaluare (job #2254181)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 4 octombrie 2018 20:49:40
Problema Jolteon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 29

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:79:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(common[v[j]]) ^ user.cpp:104:63: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for(int j = i + 1; j < n; j++) common[v[j]] = f[v[j]] = 0; ~~~~~~~~^~~ user.cpp:47:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &n); ^ user.cpp:50:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms9100kbOK14
248ms9108kbOK14
3Depăşit9972kbTime limit exceeded.0
4Depăşit9596kbTime limit exceeded.0
5Depăşit9588kbTime limit exceeded.0
6Depăşit9592kbTime limit exceeded.0
7Depăşit9596kbTime limit exceeded.0
Punctaj total29

Ceva nu functioneaza?