Pagini recente » Borderou de evaluare (job #2641547) | Borderou de evaluare (job #3289645) | Borderou de evaluare (job #555343) | Borderou de evaluare (job #2257845) | Borderou de evaluare (job #1886791)
Borderou de evaluare (job #1886791)
Raport evaluator
Compilare:
user.cpp: In function ‘bool match(int)’:
user.cpp:23:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp:29:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("s013.in", "r", stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("s013.out", "w", stdout);
^
user.cpp:45:28: 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:48:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:48:21:
/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);
^
/tmp/ccQeWbiX.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 5 | 5 |
2 | 0ms | 300kb | OK | 5 | 5 |
3 | 0ms | 304kb | OK | 5 | 5 |
4 | 0ms | 292kb | OK | 5 | 5 |
5 | 0ms | 300kb | OK | 5 | 5 |
6 | 0ms | 308kb | OK | 5 | 0 |
7 | 0ms | 320kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 312kb | OK | 5 |
9 | 0ms | 308kb | OK | 5 |
10 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 0ms | 304kb | OK | 5 | 0 |
12 | 0ms | 308kb | OK | 5 |
13 | 0ms | 312kb | OK | 5 |
14 | 0ms | 312kb | OK | 5 |
15 | 0ms | 308kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 320kb | OK | 5 | 0 |
17 | 0ms | 308kb | OK | 5 |
18 | 0ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 0ms | 312kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 0ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 25 |