Borderou de evaluare (job #1640932)

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

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:32: warning: ‘oby’ may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d", parc[obx][oby]); ^ user.cpp:146:32: 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/ccAJIvGp.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
10ms404kbWrong answer!0
20ms360kbWrong answer!0
34ms524kbWrong answer!0
48ms608kbWrong answer!0
5340msDepăşitMemory limit exceeded.0
6352msDepăşitMemory limit exceeded.0
7360msDepăşitMemory limit exceeded.0
8392msDepăşitMemory limit exceeded.0
912ms8204kbWall time limit exceeded.0
10416msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?