Borderou de evaluare (job #1767350)

Utilizator danstefanDamian Dan Stefan danstefan Data 28 septembrie 2016 22:22:31
Problema Matrice3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[260]’ [-Wformat=] scanf("%s",&st); ^ user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("matrice3.in", "r", stdin); ^ user.cpp:11:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("matrice3.out", "w", stdout); ^ user.cpp:12:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hi %hi%hi", &n, &m,&t); ^ user.cpp:16:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&st); ^ user.cpp:43:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%hi %hi %hi %hi", &x, &y, &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms644kbOK10
20ms720kbOK10
30ms736kbOK10
432msDepăşitMemory limit exceeded.0
536msDepăşitMemory limit exceeded.0
636msDepăşitMemory limit exceeded.0
736msDepăşitMemory limit exceeded.0
832msDepăşitMemory limit exceeded.0
932msDepăşitMemory limit exceeded.0
1036msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?