Borderou de evaluare (job #2020000)

Utilizator mihai.alphamihai craciun mihai.alpha Data 9 septembrie 2017 10:16:00
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void insert(tree*, char*, int, int, int)’: user.cpp:38:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nod->fii[ch]->val.size() < who - 1) ^ user.cpp: In function ‘void ins(tree*, char*, int, int)’: user.cpp:50:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (nod->fii[ch] == 0 || nod->fii[ch]->val.size() < na) { ^ user.cpp: In function ‘void dfs(tree*, int, int, char)’: user.cpp:60:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ((nod->val.size() == na) || ad == 0) { ^ user.cpp: In function ‘int main()’: user.cpp:77: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:80: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:87: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:90: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
10ms292kbOK10
20ms380kbOK10
30ms500kbOK10
40ms1160kbOK10
58ms2276kbOK10
612ms2820kbOK10
724ms7348kbOK10
828ms7764kbOK10
936ms8536kbOK10
1028ms7612kbOK10
Punctaj total100

Ceva nu functioneaza?