Borderou de evaluare (job #1289085)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 9 decembrie 2014 14:33:15
Problema Criptare2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void Read()’: user.cpp:19:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[27]’ [-Wformat=] scanf("%s", &c); ^ user.cpp: In function ‘void Run()’: user.cpp:31:19: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[27]’ [-Wformat=] scanf("%s", &c); ^ user.cpp: In function ‘void Read()’: user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &A); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &c); ^ user.cpp:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &B); ^ user.cpp: In function ‘void Run()’: user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms256kbIncorect0
30ms260kbIncorect0
4220ms512kbIncorect0
5Depăşit776kbTime limit exceeded.0
6Depăşit776kbTime limit exceeded.0
7Depăşit780kbTime limit exceeded.0
8Depăşit776kbTime limit exceeded.0
9Depăşit776kbTime limit exceeded.0
10Depăşit776kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?