Borderou de evaluare (job #1973739)
Utilizator | Data | 25 aprilie 2017 20:10:55 | |
---|---|---|---|
Problema | Cifre 5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("cifre5.in","r",stdin);
^
user.cpp:7:8: error: expected constructor, destructor, or type conversion before ‘(’ token
freopen("cifre5.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&v,&n);
^
user.cpp:11:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:11:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v,&n);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !