Borderou de evaluare (job #1880299)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 15 februarie 2017 17:46:30
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:14:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%s", &s); ^ user.cpp: In function ‘void Solve()’: user.cpp:23:9: warning: unused variable ‘expand’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:23:17: warning: unused variable ‘lmax’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:23:23: warning: unused variable ‘cmax’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:23:28: warning: unused variable ‘ii’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:23:31: warning: unused variable ‘ok’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp: In function ‘void Read()’: user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &s); ^ user.cpp: In function ‘int main()’: user.cpp:80:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in", "r", stdin); ^ user.cpp:81:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms540kbOK10
248ms616kbOK10
3Depăşit716kbTime limit exceeded.0
4Depăşit1452kbTime limit exceeded.0
5Depăşit632kbTime limit exceeded.0
6Depăşit828kbTime limit exceeded.0
7Depăşit932kbTime limit exceeded.0
8Depăşit1172kbTime limit exceeded.0
9Depăşit1312kbTime limit exceeded.0
10Depăşit1412kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?