Pagini recente » Borderou de evaluare (job #2591229) | Borderou de evaluare (job #870873) | Borderou de evaluare (job #2181711) | Borderou de evaluare (job #1715344) | Borderou de evaluare (job #2162956)
Borderou de evaluare (job #2162956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/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:75:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/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:75:15: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(a);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from /usr/include/x86_64-linux-gnu/c++/5/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:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:75:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);
^
/tmp/ccMuH17e.o: In function `main':
user.cpp:(.text.startup+0x3b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2756kb | OK | 10 |
2 | 8ms | 2864kb | OK | 10 |
3 | 4ms | 2948kb | OK | 10 |
4 | 4ms | 2884kb | OK | 10 |
5 | 4ms | 2860kb | OK | 10 |
6 | 4ms | 2864kb | OK | 10 |
7 | 4ms | 2860kb | OK | 10 |
8 | 12ms | 3084kb | OK | 10 |
9 | 4ms | 2952kb | OK | 10 |
10 | 12ms | 2852kb | OK | 10 |
Punctaj total | 100 |