Borderou de evaluare (job #2019853)

Utilizator mihai.alphamihai craciun mihai.alpha Data 8 septembrie 2017 18:39:57
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(tree*, int, int, char)’: user.cpp:59:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((nod->ok == 0 && nod->val.size() == na) || ad == 0) { ^ user.cpp:71:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(nod->ok == 1 && nod -> val.size() == na) ^ user.cpp: In function ‘int main()’: user.cpp:81:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &na); ^ user.cpp:84:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a[i], LG + 2, fin); ^ user.cpp:91:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &nb); ^ user.cpp:94:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(b[i], LG + 2, fin); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms340kbOK10
20ms864kbOK10
38ms3036kbOK10
444ms17824kbOK10
5196ms85372kbOK10
6Depăşit89372kbTime limit exceeded.0
7Depăşit97012kbTime limit exceeded.0
8Depăşit97940kbTime limit exceeded.0
9Depăşit98972kbTime limit exceeded.0
10Depăşit96884kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?