Borderou de evaluare (job #2501284)

Utilizator ArkhamKnightyMarco Vraja ArkhamKnighty Data 29 noiembrie 2019 13:03:15
Problema Mesaje Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 82

Raport evaluator

Compilare: main.cpp: In function 'void ProcessString(int)': main.cpp:73:6: warning: unused variable 'j' [-Wunused-variable] int j,nr = 0; ^ main.cpp: In function 'int main()': main.cpp:175:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<short int>::size_type {aka long unsigned int}' [-Wformat=] fprintf(g,"%d\n",A.size()); ^ main.cpp: In function 'void citire()': main.cpp:129:24: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(S, sizeof(S), f); ^ main.cpp: In function 'void add()': main.cpp:37:35: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i = 0 ; S[i] ; i += j + 1) ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
181ms786kbRaspuns partial corect4
23ms131kbCorect10
33ms131kbRaspuns partial corect4
43ms131kbRaspuns partial corect4
53ms131kbCorect10
62ms131kbCorect10
76ms131kbCorect10
884ms495kbCorect10
99ms262kbCorect10
1014ms262kbCorect10
Punctaj total82

Ceva nu functioneaza?