Borderou de evaluare (job #1853412)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 21 ianuarie 2017 19:10:37
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

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:103:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:106:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&t[i]); ^ user.cpp:113:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&m); ^ user.cpp:115: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:115:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:115:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:123:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&q); ^ user.cpp:128:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&x); ^ user.cpp:144:13: warning: unused variable ‘nr’ [-Wunused-variable] int nr=0; ^ user.cpp:145:13: warning: unused variable ‘s’ [-Wunused-variable] int s=0; ^ user.cpp:102: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:103:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:106:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&t[i]); ^ user.cpp:113:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&m); ^ user.cpp:115: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:123:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&q); ^ user.cpp:128:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1636kbOK5
20ms1628kbOK5
30ms1632kbOK5
40ms1628kbOK5
50ms1628kbOK5
624ms2196kbOK5
7100ms2236kbOK5
8Depăşit3012kbTime limit exceeded.0
9Depăşit3896kbTime limit exceeded.0
10Depăşit4744kbTime limit exceeded.0
11204ms6276kbOK10
12216ms6584kbOK10
13256ms7140kbOK10
14264ms7648kbOK10
Punctaj total75

Ceva nu functioneaza?