Pagini recente » Borderou de evaluare (job #1878480) | Borderou de evaluare (job #1907118) | Borderou de evaluare (job #1435279) | Borderou de evaluare (job #1463417) | Borderou de evaluare (job #2222041)
Borderou de evaluare (job #2222041)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:14: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
for(i=1; gets(mat[i])!=NULL; i++);
^~~~
In file included from /usr/include/c++/6/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:29:25: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
for(i=1; gets(mat[i])!=NULL; i++);
^
In file included from /usr/include/c++/6/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:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("randuri.in", "r",stdin);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randuri.out", "w",stdout);
^
/tmp/cc7OGUSY.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 880kb | OK | 10 | 20 |
2 | 0ms | 864kb | OK | 10 |
3 | 0ms | 756kb | OK | 10 | 0 |
4 | 0ms | 752kb | OK | 10 |
5 | 0ms | 856kb | Incorect | 0 |
6 | 0ms | 868kb | OK | 10 |
7 | 0ms | 756kb | OK | 10 | 40 |
8 | 0ms | 876kb | OK | 10 |
9 | 0ms | 800kb | OK | 10 |
10 | 0ms | 804kb | OK | 10 |
Punctaj total | 60 |