Borderou de evaluare (job #1506704)

Utilizator OlivianOlivian Dan Cretu Olivian Data 20 octombrie 2015 21:44:28
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:12: error: expected constructor, destructor, or type conversion before ‘(’ token freopen("permutari.in","r",stdin); ^ user.cpp:6:12: error: expected constructor, destructor, or type conversion before ‘(’ token freopen("permutari.out","w",stdout); ^ user.cpp: In function ‘int main()’: user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^

Ceva nu functioneaza?