Borderou de evaluare (job #1321119)

Utilizator bghimisFMI Ghimis Bogdan bghimis Data 18 ianuarie 2015 19:50:24
Problema Ratphu 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:8:3: error: ‘lont’ was not declared in this scope lont long n; ^ user.cpp:8:8: error: expected ‘;’ before ‘long’ lont long n; ^ user.cpp:13:23: error: ‘n’ was not declared in this scope scanf("%lld %lld", &n, &p); ^ user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.in", "r", stdin); ^ user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ratphu.out", "w", stdout); ^

Ceva nu functioneaza?