Borderou de evaluare (job #2433083)

Utilizator giotoPopescu Ioan gioto Data 25 iunie 2019 19:36:20
Problema Emax Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:19:24: error: ISO C++ forbids declaration of 'operator=' with no type [-fpermissive] operator = (stare a){ ^ main.cpp: In member function 'int stare::operator=(stare)': main.cpp:22:5: warning: no return statement in function returning non-void [-Wreturn-type] } ^ main.cpp: In function 'int main()': main.cpp:30:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("emax.in", "r", stdin); ^ main.cpp:31:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("emax.out", "w", stdout); ^ main.cpp:33:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:37:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ Non zero exit status: 1

Ceva nu functioneaza?