Borderou de evaluare (job #1760432)

Utilizator mariakKapros Maria mariak Data 20 septembrie 2016 19:53:53
Problema Cobai Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &n, &m); ^ user.cpp:23:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[i] + 1); ^ user.cpp:24:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(D + 1); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:23:23: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ user.cpp: In function ‘int DFS(int, int, int)’: user.cpp:17:24: warning: ‘yy’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (x > 0 && y > 0 && x <= n && y <= m); ^ user.cpp:29:22: note: ‘yy’ was declared here int val = 0, xx, yy; ^ user.cpp:17:15: warning: ‘xx’ may be used uninitialized in this function [-Wmaybe-uninitialized] return (x > 0 && y > 0 && x <= n && y <= m); ^ user.cpp:29:18: note: ‘xx’ was declared here int val = 0, xx, yy; ^ /tmp/ccVhxLZd.o: In function `read()': user.cpp:(.text+0x72): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x8e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbOk!5
20ms484kbOk!5
30ms612kbOk!5
40ms608kbOk!5
50ms720kbOk!5
60ms780kbOk!5
70ms844kbOk!5
80ms864kbOk!5
90ms1072kbOk!5
100ms1088kbOk!5
114ms1488kbOk!5
124ms1556kbOk!5
134ms1608kbOk!5
148ms1704kbOk!5
154ms1784kbOk!5
164ms1884kbOk!5
174ms2036kbOk!5
1820ms2264kbOk!5
1920ms2668kbOk!5
2028ms2964kbOk!5
Punctaj total100

Ceva nu functioneaza?