Borderou de evaluare (job #2126946)

Utilizator AntoniuFicAntoniu Ficard AntoniuFic Data 10 februarie 2018 10:33:13
Problema Teatru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:34: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[55000]’ [-Wformat=] scanf("%d %d\n%s", &z, &c, &a); ^ user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.in", "r", stdin); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("teatru.out", "w", stdout); ^ user.cpp:11:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n%s", &z, &c, &a); ^ user.cpp:30:13: warning: ‘dr’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(; st<=dr; st++) ^ user.cpp:30:5: warning: ‘st’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(; st<=dr; st++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms752kbOK10
20ms816kbOK10
3Depăşit756kbTime limit exceeded.0
412ms880kbOK10
5Depăşit800kbTime limit exceeded.0
6Depăşit800kbTime limit exceeded.0
7Depăşit864kbTime limit exceeded.0
8Depăşit876kbTime limit exceeded.0
9Depăşit752kbTime limit exceeded.0
10Depăşit812kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?