Borderou de evaluare (job #1642889)

Utilizator dragos_vecerdeaVecerdea Dragos dragos_vecerdea Data 9 martie 2016 16:42:54
Problema Rj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:17:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin , "%d%d" , &n , &m); ^ user.cpp:18:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(c, 120 , fin); ^ user.cpp:27:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(c , 102 , fin); ^ user.cpp:67:31: warning: ‘poz22’ may be used uninitialized in this function [-Wmaybe-uninitialized] d2[start.lin][start.col]=1; ^ user.cpp:67:31: warning: ‘poz11’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:48:31: warning: ‘poz2’ may be used uninitialized in this function [-Wmaybe-uninitialized] d1[start.lin][start.col]=1; ^ user.cpp:48:31: warning: ‘poz1’ may be used uninitialized in this function [-Wmaybe-uninitialized] In file included from /usr/include/stdio.h:934:0, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:18:24: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms300kbOK1050
20ms360kbOK10
30ms348kbOK10
40ms412kbOK10
50ms456kbOK10
60ms364kbOK1050
70ms364kbOK10
80ms384kbOK10
90ms296kbOK10
100ms320kbOK10
Punctaj total100

Ceva nu functioneaza?