Borderou de evaluare (job #2019864)

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

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(tree*, int, int, char)’: user.cpp:59: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:76: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:79: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:86: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:89: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
10ms332kbOK10
20ms860kbOK10
34ms3036kbOK10
440ms17824kbOK10
5Depăşit85372kbTime limit exceeded.0
6Depăşit86200kbTime limit exceeded.0
7Depăşit96228kbTime limit exceeded.0
8Depăşit100056kbTime limit exceeded.0
9Depăşit97148kbTime limit exceeded.0
10Depăşit95960kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?