Borderou de evaluare (job #1193416)

Utilizator bghimisFMI Ghimis Bogdan bghimis Data 31 mai 2014 18:29:25
Problema Trilant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:90:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:90:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:91:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&A,&B,&C); ^ user.cpp:91:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:91:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:93:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&p,&q,&t); ^ user.cpp:93:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:93:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:110:5: error: ‘prlong’ was not declared in this scope prlong longf("%d",trmin); ^ user.cpp:110:12: error: expected ‘;’ before ‘longf’ prlong longf("%d",trmin); ^ user.cpp:116:9: error: expected ‘;’ before ‘longf’ prlong longf("\n%d",i); ^ user.cpp:118:10: error: expected ‘;’ before ‘longf’ prlong longf(" %d",sol[k]); ^ user.cpp:124:9: error: expected ‘;’ before ‘longf’ prlong longf("\n%d",i); ^ user.cpp:126:10: error: expected ‘;’ before ‘longf’ prlong longf(" %d",sol[k]); ^ user.cpp:132:9: error: expected ‘;’ before ‘longf’ prlong longf("\n%d",i); ^ user.cpp:134:10: error: expected ‘;’ before ‘longf’ prlong longf(" %d",sol[k]); ^ user.cpp:89:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trilant.in","r",stdin); ^ user.cpp:90:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:91:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&A,&B,&C); ^ user.cpp:93:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&p,&q,&t);

Ceva nu functioneaza?