Pagini recente » Borderou de evaluare (job #347708) | Borderou de evaluare (job #1808079) | Borderou de evaluare (job #2321718) | Borderou de evaluare (job #1266240) | Borderou de evaluare (job #2211413)
Borderou de evaluare (job #2211413)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:5: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^~~~
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:16:11: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(s);
^
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:18:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(mat[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:18:20: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(mat[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:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("mesaj.in", "r",stdin);
^
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj.out", "w",stdout);
^
user.cpp:15:28: 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:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:18:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(mat[i]);
^
/tmp/ccrpnhGA.o: In function `main':
user.cpp:(.text.startup+0x69): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2752kb | OK | 10 |
2 | 0ms | 2732kb | OK | 10 |
3 | 0ms | 2844kb | OK | 10 |
4 | 0ms | 3128kb | Incorect | 0 |
5 | 8ms | 7928kb | OK | 10 |
6 | 20ms | 7972kb | Incorect | 0 |
7 | 36ms | 12116kb | Incorect | 0 |
8 | Depăşit | 13456kb | Time limit exceeded. | 0 |
9 | 84ms | 12128kb | Incorect | 0 |
10 | 108ms | 13456kb | Incorect | 0 |
Punctaj total | 40 |