Borderou de evaluare (job #796851)

Utilizator visanrVisan Radu visanr Data 12 octombrie 2012 19:17:23
Problema Aparare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:20: error: conflicting declaration ‘long long int crtCost’ user.cpp:19: error: ‘crtCost’ has a previous declaration as ‘int crtCost’ user.cpp:20: error: conflicting declaration ‘long long int totCost’ user.cpp:19: error: ‘totCost’ has a previous declaration as ‘int totCost’ user.cpp: In function ‘int main()’: user.cpp:76: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘int’ user.cpp:97: warning: format ‘%lld’ expects type ‘long long int’, but argument 2 has type ‘int’ user.cpp:54: warning: unused variable ‘j’ user.cpp:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:53: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result

Ceva nu functioneaza?