Borderou de evaluare (job #1640939)

Utilizator vazanIonescu Victor Razvan vazan Data 8 martie 2016 20:02:39
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("barbar.in", "r", stdin); ^ user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("barbar.out", "w", stdout); ^ user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:31:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:146:21: warning: ‘oby’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(parc[obx][oby]==INF) ^ user.cpp:146:21: warning: ‘obx’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:14:12: warning: ‘sty’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret.y=y; ^ user.cpp:27:14: note: ‘sty’ was declared here int stx, sty, obx, oby; ^ user.cpp:13:12: warning: ‘stx’ may be used uninitialized in this function [-Wmaybe-uninitialized] ret.x=x; ^ user.cpp:27:9: note: ‘stx’ was declared here int stx, sty, obx, oby; ^ /tmp/cc85kw47.o: In function `main': user.cpp:(.text.startup+0x87): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbOk!10
20ms352kbOk!10
34ms520kbOk!10
44ms600kbOk!10
5344msDepăşitMemory limit exceeded.0
6348msDepăşitMemory limit exceeded.0
7348msDepăşitMemory limit exceeded.0
8348msDepăşitMemory limit exceeded.0
912ms8204kbWall time limit exceeded.0
10416msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?