Pagini recente » Borderou de evaluare (job #3206323) | Borderou de evaluare (job #1268164) | Borderou de evaluare (job #1185612) | Borderou de evaluare (job #2867368) | Borderou de evaluare (job #1245247)
Borderou de evaluare (job #1245247)
Raport evaluator
Compilare:
user.cpp: In function ‘void topsort()’:
user.cpp:45:42: 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 ",a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:62: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:63: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:67:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&t);
^
user.cpp:72: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:75:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld ",&v[i]);
^
user.cpp:80: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:70: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/ccLWMQLw.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 | 408ms | 3512kb | Incorect | 0 |
Punctaj total | 0 |