Pagini recente » Borderou de evaluare (job #13078) | Borderou de evaluare (job #697451) | Borderou de evaluare (job #2941378) | Borderou de evaluare (job #75269) | Borderou de evaluare (job #2158956)
Borderou de evaluare (job #2158956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:9:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:9:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
In file included from /usr/include/c++/5/cstdio:42:0,
from user.cpp:1:
/usr/include/stdio.h:638:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^
user.cpp:7:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.in","r",stdin);
^
user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paritate.out","w",stdout);
^
user.cpp:9:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccgXQ5Ka.o: In function `main':
user.cpp:(.text.startup+0x49): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1192kb | OK | 10 | 30 |
2 | 0ms | 1112kb | OK | 10 |
3 | 0ms | 1272kb | OK | 10 |
4 | 0ms | 1124kb | OK | 10 | 40 |
5 | 0ms | 1188kb | OK | 10 |
6 | 4ms | 1524kb | OK | 10 |
7 | 4ms | 1876kb | OK | 10 |
8 | 8ms | 1712kb | OK | 10 | 30 |
9 | 12ms | 1904kb | OK | 10 |
10 | 0ms | 1196kb | OK | 10 |
Punctaj total | 100 |