Pagini recente » Borderou de evaluare (job #706978) | Borderou de evaluare (job #1055932) | Borderou de evaluare (job #864564) | Borderou de evaluare (job #485860) | Borderou de evaluare (job #1484750)
Borderou de evaluare (job #1484750)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:29: 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:55:31: 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:56:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s); root=new trie;
^
user.cpp:56:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n); gets(s); root=new trie;
^
user.cpp:58:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); strcat(s+1,ss+1);
^
user.cpp:61:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(s);
^
user.cpp:61:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m); gets(s);
^
user.cpp:63:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ss+1); add_intrie(i);
^
/tmp/ccbnbehv.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 476kb | Killed by signal 6(SIGABRT). | 0 |
2 | 4ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 12ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 444kb | Killed by signal 6(SIGABRT). | 0 |
5 | 48ms | 472kb | Killed by signal 6(SIGABRT). | 0 |
6 | 104ms | 504kb | Killed by signal 6(SIGABRT). | 0 |
7 | 184ms | 536kb | Killed by signal 6(SIGABRT). | 0 |
8 | 192ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 192ms | 552kb | Killed by signal 6(SIGABRT). | 0 |
10 | 192ms | 440kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |