Borderou de evaluare (job #2757485)

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

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:103: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:103:5: note: in expansion of macro 'FILES' FILES ^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbOk!5
22ms131kbOk!5
353ms4063kbTime limit exceeded0
453ms6422kbTime limit exceeded0
553ms10899kbTime limit exceeded0
653ms9719kbTime limit exceeded0
753ms9719kbTime limit exceeded0
853ms6553kbTime limit exceeded0
953ms10899kbTime limit exceeded0
1053ms9195kbTime limit exceeded0
1152ms11943kbTime limit exceeded0
1253ms12730kbTime limit exceeded0
1353ms10502kbTime limit exceeded0
1453ms11948kbTime limit exceeded0
1557ms8667kbTime limit exceeded0
1653ms10371kbTime limit exceeded0
1752ms9326kbTime limit exceeded0
1853ms9981kbTime limit exceeded0
1953ms10633kbTime limit exceeded0
2053ms10633kbTime limit exceeded0
Punctaj total10

Ceva nu functioneaza?