Borderou de evaluare (job #1781616)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 17 octombrie 2016 08:59:32
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:76:39: 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:77:41: 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:79:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d\n", &n, &m, &q); ^ user.cpp:81:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff + 1); ^ user.cpp:92:57: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d", &fi_x, &fi_y, &se_x, &se_y); ^ /tmp/ccojpPze.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms980kbOK10
20ms1152kbOK10
30ms1212kbOK10
428msDepăşitMemory limit exceeded.0
528msDepăşitMemory limit exceeded.0
628msDepăşitMemory limit exceeded.0
728msDepăşitMemory limit exceeded.0
828msDepăşitMemory limit exceeded.0
928msDepăşitMemory limit exceeded.0
1028msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?