Pagini recente » Borderou de evaluare (job #2797379) | Borderou de evaluare (job #2283326) | Borderou de evaluare (job #1937272) | Borderou de evaluare (job #2603078) | Borderou de evaluare (job #1760432)
Borderou de evaluare (job #1760432)
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 |
1 | 0ms | 468kb | Ok! | 5 |
2 | 0ms | 484kb | Ok! | 5 |
3 | 0ms | 612kb | Ok! | 5 |
4 | 0ms | 608kb | Ok! | 5 |
5 | 0ms | 720kb | Ok! | 5 |
6 | 0ms | 780kb | Ok! | 5 |
7 | 0ms | 844kb | Ok! | 5 |
8 | 0ms | 864kb | Ok! | 5 |
9 | 0ms | 1072kb | Ok! | 5 |
10 | 0ms | 1088kb | Ok! | 5 |
11 | 4ms | 1488kb | Ok! | 5 |
12 | 4ms | 1556kb | Ok! | 5 |
13 | 4ms | 1608kb | Ok! | 5 |
14 | 8ms | 1704kb | Ok! | 5 |
15 | 4ms | 1784kb | Ok! | 5 |
16 | 4ms | 1884kb | Ok! | 5 |
17 | 4ms | 2036kb | Ok! | 5 |
18 | 20ms | 2264kb | Ok! | 5 |
19 | 20ms | 2668kb | Ok! | 5 |
20 | 28ms | 2964kb | Ok! | 5 |
Punctaj total | 100 |