Pagini recente » Borderou de evaluare (job #1141004) | Borderou de evaluare (job #649241) | Borderou de evaluare (job #3219997) | Borderou de evaluare (job #3152963) | Borderou de evaluare (job #1245238)
Borderou de evaluare (job #1245238)
Raport evaluator
Compilare:
user.cpp: In function ‘void topsort()’:
user.cpp:44:43: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
for(int i=1;i<=n;i++)printf("%ld ",v2[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:61:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in","r",stdin);
^
user.cpp:62:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out","w",stdout);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&t);
^
user.cpp:71:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld %lld ", &n, &m);
^
user.cpp:74:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ",&v[i]);
^
user.cpp:79:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&x ,&y );
^
In file included from /usr/include/string.h:642:0,
from /usr/include/c++/4.8/cstring:42,
from user.cpp:6:
In function ‘void* memset(void*, int, size_t)’,
inlined from ‘int main()’ at user.cpp:69:40:
/usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]
__warn_memset_zero_len ();
^
/tmp/cc7SPxow.o: In function `main':
user.cpp:(.text.startup+0x77): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 448ms | 3528kb | Incorect | 0 |
Punctaj total | 0 |