Borderou de evaluare (job #2127447)

Utilizator MoodyFaresFares Mohamad MoodyFares Data 10 februarie 2018 17:49:09
Problema Pesti Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:3:16: error: ‘::main’ must return ‘int’ long long main() { ^ user.cpp: In function ‘int main()’: user.cpp:11:13: warning: unused variable ‘poz’ [-Wunused-variable] long long poz = x; ^ user.cpp:4:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pesti.in", "r", stdin); ^ user.cpp:5:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("pesti.out", "w", stdout); ^ user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld%lld", &n, &x); ^

Ceva nu functioneaza?