Pagini recente » Borderou de evaluare (job #2980896) | Borderou de evaluare (job #408156) | Borderou de evaluare (job #1470269) | Cod sursa (job #1079023) | Borderou de evaluare (job #2139439)
Borderou de evaluare (job #2139439)
Raport evaluator
Compilare:
user.cpp: In function ‘int cupleaza(int)’:
user.cpp:15:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+1);
^
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:33:9: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+1);
^
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:33:19: warning: ‘char* gets(char*)’ is deprecated [-Wdeprecated-declarations]
gets(sir+1);
^
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:29:13: warning: unused variable ‘x’ [-Wunused-variable]
int n,m,x;
^
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.out","w",stdout);
^
user.cpp:30: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:33:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
/tmp/ccPyQwhT.o: In function `main':
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 884kb | S-a respectat legea! | 10 |
2 | 0ms | 936kb | S-a respectat legea! | 10 |
3 | 0ms | 884kb | S-a respectat legea! | 10 |
4 | 0ms | 896kb | S-a respectat legea! | 10 |
5 | 0ms | 912kb | S-a respectat legea! | 10 |
6 | 0ms | 912kb | S-a respectat legea! | 10 |
7 | 0ms | 924kb | S-a respectat legea! | 10 |
8 | 0ms | 920kb | S-a respectat legea! | 10 |
9 | 0ms | 888kb | S-a respectat legea! | 10 |
10 | 0ms | 908kb | S-a respectat legea! | 10 |
Punctaj total | 100 |