Borderou de evaluare (job #1236741)

Utilizator stefan.friptuPetru Stefan Friptu stefan.friptu Data 2 octombrie 2014 15:58:21
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:76:7: error: prototype for ‘huge& huge::operator+(long long int)’ does not match any in class ‘huge’ huge& huge:: operator + (long long k) ^ user.cpp:61:14: error: candidate is: huge huge::operator+(long long int) huge operator + (long long k); ^ user.cpp: In function ‘int main()’: user.cpp:102:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:98: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:99: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:102:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^ user.cpp:105:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&d); ^

Ceva nu functioneaza?