Borderou de evaluare (job #2093251)

Utilizator inquisitorAnders inquisitor Data 23 decembrie 2017 12:03:03
Problema Puteri35 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘long long int getNext(int, int)’: user.cpp:20:12: error: ‘nr’ was not declared in this scope return nr; ^ user.cpp: In function ‘int main()’: user.cpp:34:38: error: expected primary-expression before ‘)’ token printf("%lld\n", three = ); ^ user.cpp: In function ‘long long int getNext(int, int)’: user.cpp:21:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.in", "r", stdin); ^ user.cpp:26:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.out", "w", stdout); ^ user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^

Ceva nu functioneaza?