Borderou de evaluare (job #2546488)

Utilizator cyg_vladioanBirsan Vlad cyg_vladioan Data 14 februarie 2020 11:06:01
Problema TollRoads Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In member function 'muchii muchii::operator+(muchii)': main.cpp:15:16: error: could not convert 'aux' from 'int [100]' to 'muchii' return aux; ^~~ main.cpp: At global scope: main.cpp:21:1: error: expected constructor, destructor, or type conversion before 'x' x + z; ^ main.cpp: In function 'int main()': main.cpp:25:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lss.in", "r", stdin); ^ main.cpp:26:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("lss.out", "w", stdout); ^ main.cpp:28:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &k, &n); ^ main.cpp:30:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &v[i]); ^ Non zero exit status: 1

Ceva nu functioneaza?