Borderou de evaluare (job #1880265)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 15 februarie 2017 17:28:15
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:15:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000010]’ [-Wformat=] scanf("%s", &s); ^ user.cpp: In function ‘void Solve()’: user.cpp:24:9: warning: unused variable ‘expand’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:24:23: warning: variable ‘cmax’ set but not used [-Wunused-but-set-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:24:28: warning: unused variable ‘ii’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:24:31: warning: unused variable ‘ok’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp: In function ‘void Read()’: user.cpp:15: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:84: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:85: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
264ms600kbOK10
3Depăşit668kbTime limit exceeded.0
4Depăşit1420kbTime limit exceeded.0
5Depăşit612kbTime limit exceeded.0
6Depăşit808kbTime limit exceeded.0
7Depăşit908kbTime limit exceeded.0
8Depăşit1148kbTime limit exceeded.0
9Depăşit1292kbTime limit exceeded.0
10Depăşit1388kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?