Borderou de evaluare (job #1640951)

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

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:150:21: warning: ‘oby’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(parc[obx][oby]==INF) ^ user.cpp:150:21: warning: ‘obx’ may be used uninitialized in this function [-Wmaybe-uninitialized] user.cpp:111:35: warning: ‘sty’ may be used uninitialized in this function [-Wmaybe-uninitialized] parc[stx][sty]=maped[stx][sty]; ^ user.cpp:111:35: warning: ‘stx’ may be used uninitialized in this function [-Wmaybe-uninitialized] /tmp/ccCy1FhO.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
10ms396kbOk!10
20ms352kbOk!10
30ms392kbOk!10
40ms476kbOk!10
5Depăşit47488kbTime limit exceeded.0
6184ms10552kbOk!10
7Depăşit53668kbTime limit exceeded.0
8Depăşit38676kbTime limit exceeded.0
912ms8192kbWall time limit exceeded.0
100ms1180kbWrong answer!0
Punctaj total50

Ceva nu functioneaza?