Pagini recente » Borderou de evaluare (job #539846) | Borderou de evaluare (job #1481896) | Borderou de evaluare (job #2266728) | Borderou de evaluare (job #2524705) | Borderou de evaluare (job #1746879)
Borderou de evaluare (job #1746879)
Raport evaluator
Compilare:
user.cpp: In function ‘void anti_bfs()’:
user.cpp:86:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<(nod->srs.size()); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:92:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:93:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:98:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:100:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(txt + 64 * i);
^
user.cpp:104:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&m);
^
user.cpp:106:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pat);
^
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:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:100:27:
/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/ccoA7wyK.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x10a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 532kb | OK | 10 |
| 2 | 0ms | 492kb | OK | 10 |
| 3 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 748kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 12ms | 3692kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 12ms | 3728kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 12ms | 3756kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 1076kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 2528kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 680kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 20 |