Borderou de evaluare (job #1245238)

Utilizator PTAdrian64Pop-Tifrea Adrian PTAdrian64 Data 18 octombrie 2014 19:51:57
Problema Easygraph Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

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
1448ms3528kbIncorect0
Punctaj total0

Ceva nu functioneaza?