Borderou de evaluare (job #2757482)

Utilizator 100pCiornei Stefan 100p Data 5 iunie 2021 12:37:55
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:66:35: warning: array subscript has type 'char' [-Wchar-subscripts] int x = t.first + a[dir[z]]; ^ main.cpp:67:36: warning: array subscript has type 'char' [-Wchar-subscripts] int y = t.second + b[dir[z]]; ^ main.cpp:73:30: warning: array subscript has type 'char' [-Wchar-subscripts] x += a[dir[z]],y += b[dir[z]]; ^ main.cpp:73:45: warning: array subscript has type 'char' [-Wchar-subscripts] x += a[dir[z]],y += b[dir[z]]; ^ main.cpp:84:26: warning: array subscript has type 'char' [-Wchar-subscripts] x += a[dir[z]],y += b[dir[z]]; ^ main.cpp:84:41: warning: array subscript has type 'char' [-Wchar-subscripts] x += a[dir[z]],y += b[dir[z]]; ^ main.cpp: In function 'int main()': main.cpp:2:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] #define FILES freopen("cobai.in","r",stdin);\ ^ main.cpp:102:5: note: in expansion of macro 'FILES' FILES ^~~~~ main.cpp:3:46: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cobai.out","w",stdout); ^ main.cpp:102:5: note: in expansion of macro 'FILES' FILES ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk!5
22ms131kbWrong answer!0
353ms4063kbTime limit exceeded0
453ms6160kbTime limit exceeded0
553ms10899kbTime limit exceeded0
653ms9719kbTime limit exceeded0
753ms9850kbTime limit exceeded0
853ms6553kbTime limit exceeded0
953ms8802kbTime limit exceeded0
1053ms9195kbTime limit exceeded0
1153ms9715kbTime limit exceeded0
1253ms10240kbTime limit exceeded0
1353ms10502kbTime limit exceeded0
1453ms10113kbTime limit exceeded0
1553ms10633kbTime limit exceeded0
1653ms10240kbTime limit exceeded0
1753ms9457kbTime limit exceeded0
1853ms9981kbTime limit exceeded0
1953ms10502kbTime limit exceeded0
2053ms10764kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?