Borderou de evaluare (job #1236889)

Utilizator YoChinezuWeng Mihai Alexandru YoChinezu Data 2 octombrie 2014 19:05:39
Problema Next 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:116:13: error: call of overloaded ‘HUGE(long long int&)’ is ambiguous HUGE Q(k),S,L; ^ user.cpp:116:13: note: candidates are: user.cpp:27:5: note: HUGE::HUGE(int) HUGE (int n){ ^ user.cpp:24:5: note: HUGE::HUGE(const HUGE&) HUGE(const HUGE& other){ ^ user.cpp:14:5: note: HUGE::HUGE(bool) HUGE(bool sss){ ^ user.cpp:108:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:109:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:115:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&k); ^ user.cpp: In constructor ‘HUGE::HUGE(bool)’: user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^

Ceva nu functioneaza?