Borderou de evaluare (job #1721489)

Utilizator cristina_borzaCristina Borza cristina_borza Data 25 iunie 2016 19:00:31
Problema Cifru5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100005]’ [-Wformat=] scanf("%s" , &sir); ^ user.cpp:37:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifru5.in" , "r" , stdin); ^ user.cpp:38:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cifru5.out" , "w" , stdout); ^ user.cpp:40:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:47:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s" , &sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbOK10
24ms336kbOK10
312ms332kbOK10
4588ms368kbOK10
5Depăşit372kbTime limit exceeded.0
6Depăşit384kbTime limit exceeded.0
7Depăşit396kbTime limit exceeded.0
8Depăşit584kbTime limit exceeded.0
9Depăşit392kbTime limit exceeded.0
10Depăşit428kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?