Borderou de evaluare (job #1880260)

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

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:94: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:95: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
1Depăşit500kbTime limit exceeded.0
2Depăşit504kbTime limit exceeded.0
3Depăşit556kbTime limit exceeded.0
4Depăşit1400kbTime limit exceeded.0
5Depăşit616kbTime limit exceeded.0
6Depăşit812kbTime limit exceeded.0
7Depăşit916kbTime limit exceeded.0
8Depăşit1152kbTime limit exceeded.0
9Depăşit1304kbTime limit exceeded.0
10Depăşit1392kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?