Pagini recente » Borderou de evaluare (job #1335136) | Borderou de evaluare (job #1859203) | Borderou de evaluare (job #653612) | Borderou de evaluare (job #431540) | Borderou de evaluare (job #1794012)
Borderou de evaluare (job #1794012)
Raport evaluator
Compilare:
user.cpp: In function ‘Node* newEmptyNode()’:
user.cpp:31:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:187:36: 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:190:27: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i]);
^
user.cpp:201:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
user.cpp:185:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while(scanf("%d\n", &T), T--)
^
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:190: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/ccuuLkTZ.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x172): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 532kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |