Borderou de evaluare (job #1853193)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 21 ianuarie 2017 15:02:14
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void liniariz(int, int&)’: user.cpp:31:32: 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:66:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:69:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t[i]); ^ user.cpp:76:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:78:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld%ld%ld",&O[i].a,&O[i].b,&O[i].c); ^ user.cpp:78:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:78:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:85:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&q); ^ user.cpp:90:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:65:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.in","r",stdin); ^ user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:69:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t[i]); ^ user.cpp:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&m); ^ user.cpp:78:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld",&O[i].a,&O[i].b,&O[i].c); ^ user.cpp:85:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&q); ^ user.cpp:90:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1632kbOK5
20ms1632kbOK5
30ms1632kbOK5
40ms1632kbOK5
50ms1628kbOK5
6284ms2128kbOK5
7248ms2076kbOK5
8296ms2860kbOK5
9Depăşit3604kbTime limit exceeded.0
10Depăşit4084kbTime limit exceeded.0
11Depăşit5412kbTime limit exceeded.0
12Depăşit5460kbTime limit exceeded.0
13Depăşit5788kbTime limit exceeded.0
14Depăşit6304kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?