Pagini recente » Borderou de evaluare (job #1777551) | Borderou de evaluare (job #1191719) | Borderou de evaluare (job #1008063) | Borderou de evaluare (job #176875) | Borderou de evaluare (job #2159095)
Borderou de evaluare (job #2159095)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int, int, int)’:
user.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:48:9: 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:48:9: 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:48:15: 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:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.in","r",stdin);
^
user.cpp:44:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("insule.out","w",stdout);
^
user.cpp:45:26: 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:48:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccwuGxNk.o: In function `main':
user.cpp:(.text.startup+0x8b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | Depăşit | Memory limit exceeded. | 0 |
2 | 4ms | Depăşit | Memory limit exceeded. | 0 |
3 | 4ms | Depăşit | Memory limit exceeded. | 0 |
4 | 4ms | Depăşit | Memory limit exceeded. | 0 |
5 | 4ms | Depăşit | Memory limit exceeded. | 0 |
6 | 4ms | Depăşit | Memory limit exceeded. | 0 |
7 | 4ms | Depăşit | Memory limit exceeded. | 0 |
8 | 4ms | Depăşit | Memory limit exceeded. | 0 |
9 | 4ms | Depăşit | Memory limit exceeded. | 0 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |