Borderou de evaluare (job #1880270)

Utilizator dragomirmanuelDragomir Manuel dragomirmanuel Data 15 februarie 2017 17:29:22
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:17: warning: unused variable ‘lmax’ [-Wunused-variable] int expand, lmax, cmax,ii,ok; ^ user.cpp:24:23: warning: unused variable ‘cmax’ [-Wunused-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: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
116ms520kbOK10
264ms608kbOK10
3Depăşit668kbTime limit exceeded.0
4Depăşit1420kbTime limit exceeded.0
5Depăşit612kbTime limit exceeded.0
6Depăşit808kbTime limit exceeded.0
7Depăşit904kbTime limit exceeded.0
8Depăşit1152kbTime limit exceeded.0
9Depăşit1292kbTime limit exceeded.0
10Depăşit1392kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?