Pagini recente » Borderou de evaluare (job #1213944) | Borderou de evaluare (job #579316) | Borderou de evaluare (job #743495) | Borderou de evaluare (job #1309247) | Borderou de evaluare (job #2224405)
Borderou de evaluare (job #2224405)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(nr);
^~~~
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:35:16: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(nr);
^
In file included from /usr/include/c++/6/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/6/32/bits/stdc++.h:46,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
user.cpp:35:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(nr);
^
/tmp/cc0mzeF3.o: In function `main':
user.cpp:(.text.startup+0x245): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 380ms | 15172kb | Incorect | 0 |
Punctaj total | 0 |