Borderou de evaluare (job #1793615)

Utilizator DevilOnFieldTudor Horia Niculescu DevilOnField Data 31 octombrie 2016 11:41:17
Problema Maxq Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 95

Raport evaluator

Compilare: user.cpp: In function ‘void printa(arbore)’: user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("st:%d dr:%d sum:%d smax:%d pref:%d suf:%d\n", a.st, a.dr, a.sump, a.ssmax, a.pref, a.suf); ^ user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long long int’ [-Wformat=] user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long long int’ [-Wformat=] user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long long int’ [-Wformat=] user.cpp:17:101: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long long int’ [-Wformat=] user.cpp: In function ‘int main()’: user.cpp:89:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:96:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^ user.cpp:122:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &t); ^ user.cpp:126:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &op, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms24848kbOK5
236ms24844kbOK5
340ms24844kbOK5
444ms24844kbOK5
5336ms24848kbOK5
6380ms24848kbOK5
7432ms24844kbOK5
8452ms24848kbOK5
9476ms24844kbOK5
10484ms24844kbOK5
11388ms24848kbOK5
12500ms24848kbOK5
13600ms24844kbOK5
14656ms24844kbOK5
15928ms24844kbOK5
16940ms24848kbOK5
17956ms24844kbOK5
18Depăşit24852kbTime limit exceeded.0
19972ms24844kbOK5
20980ms24848kbOK5
Punctaj total95

Ceva nu functioneaza?