Borderou de evaluare (job #1617001)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 27 februarie 2016 12:24:47
Problema Qxy Status done
Runda PreOJI 2016 Clasele 11-12 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:27:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp:31:61: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%ld%ld%ld%ld",&Q[i].i,&Q[i].j,&Q[i].x,&Q[i].y); ^ user.cpp:31:61: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:31:61: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:31:61: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:23:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qxy.in","r",stdin); ^ user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:27:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^ user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&m); ^ user.cpp:31:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld%ld%ld",&Q[i].i,&Q[i].j,&Q[i].x,&Q[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms1008kbIncorect0
228ms1096kbIncorect0
328ms984kbIncorect0
412ms732kbIncorect0
524ms1024kbIncorect0
624ms964kbIncorect0
724ms876kbIncorect0
812ms780kbIncorect0
916ms800kbIncorect0
1036ms956kbIncorect0
1124ms808kbIncorect0
1228ms804kbIncorect0
1372ms1660kbIncorect0
1472ms1664kbIncorect0
1572ms1660kbIncorect0
1672ms1664kbIncorect0
1776ms1660kbIncorect0
1872ms1664kbIncorect0
1972ms1664kbIncorect0
2072ms1660kbIncorect0
Punctaj total0

Ceva nu functioneaza?