Borderou de evaluare (job #1880292)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 15 februarie 2017 17:41:46
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:74: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:75: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
116ms516kbOK10
268ms604kbOK10
3Depăşit476kbTime limit exceeded.0
4Depăşit1412kbTime limit exceeded.0
5Depăşit604kbTime limit exceeded.0
6Depăşit800kbTime limit exceeded.0
7Depăşit900kbTime limit exceeded.0
8Depăşit1140kbTime limit exceeded.0
9Depăşit1288kbTime limit exceeded.0
10Depăşit1384kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?