Borderou de evaluare (job #2063713)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 11 noiembrie 2017 13:09:18
Problema Armate Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:14: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] s1[1 - a & 1].insert(0); ^ user.cpp:30:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(it = s1[1 - i & 1].begin(); it != s1[1 - i & 1].end(); it++) { ^ user.cpp:30:56: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(it = s1[1 - i & 1].begin(); it != s1[1 - i & 1].end(); it++) { ^ user.cpp:34:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] s1[1 - i & 1].clear(); ^ user.cpp:36:14: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] s2[1 - (med + 1) & 1].insert(0); ^ user.cpp:38:27: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(it = s2[1 - i & 1].begin(); it != s2[1 - i & 1].end(); it++) { ^ user.cpp:38:56: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] for(it = s2[1 - i & 1].begin(); it != s2[1 - i & 1].end(); it++) { ^ user.cpp:42:18: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] s2[1 - i & 1].clear(); ^ user.cpp:16:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&n,&q); ^ user.cpp:18:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d " ,&v[i]); ^ user.cpp:26:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d %d " ,&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbIncorect00
20ms424kbOK55
38ms448kbIncorect00
44ms436kbOK55
536ms432kbIncorect00
648ms444kbIncorect00
72160ms612kbIncorect00
8Depăşit576kbTime limit exceeded.0
9Depăşit668kbTime limit exceeded.0
10Depăşit672kbTime limit exceeded.0
11Depăşit592kbTime limit exceeded.0
12Depăşit664kbTime limit exceeded.0
13Depăşit1968kbTime limit exceeded.00
14Depăşit3216kbTime limit exceeded.0
15Depăşit2368kbTime limit exceeded.0
16Depăşit3224kbTime limit exceeded.0
17Depăşit3620kbTime limit exceeded.00
18Depăşit3216kbTime limit exceeded.0
19Depăşit3644kbTime limit exceeded.0
20Depăşit2796kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?