Pagini recente » Borderou de evaluare (job #786697) | Borderou de evaluare (job #1312496) | Borderou de evaluare (job #2177060) | Borderou de evaluare (job #2352402) | Borderou de evaluare (job #2152575)
Borderou de evaluare (job #2152575)
Raport evaluator
Compilare:
user.cpp: In function ‘int bfs()’:
user.cpp:22:22: 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:40:5: 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:40:5: 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:40:15: 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:85:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[dest].size();i++)
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.in","r",stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("teroristi.out","w",stdout);
^
user.cpp:39: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:40:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:57:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c\n",&c1[i],&c2[i]);
^
/tmp/ccNVRs5e.o: In function `main':
user.cpp:(.text.startup+0x6c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 4972kb | Ok! | 10 |
2 | 0ms | 5028kb | Ok! | 10 |
3 | 0ms | 5356kb | Ok! | 10 |
4 | 4ms | 5564kb | Ok! | 10 |
5 | 4ms | 5560kb | Ok! | 10 |
6 | 28ms | 5900kb | Ok! | 10 |
7 | 160ms | 7368kb | Ok! | 10 |
8 | 316ms | 10944kb | Ok! | 10 |
9 | 416ms | 11404kb | Ok! | 10 |
10 | 520ms | 13092kb | Ok! | 10 |
Punctaj total | 100 |