Borderou de evaluare (job #2244144)
Utilizator | Data | 22 septembrie 2018 11:59:10 | |
---|---|---|---|
Problema | Permutari II | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:1: error: ‘ifstream’ does not name a type
ifstream cin("perm2.in");
^~~~~~~~
user.cpp:5:1: error: ‘ofstream’ does not name a type
ofstream cout("perm2.out");
^~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:26:13: warning: unused variable ‘produs’ [-Wunused-variable]
int n,i,produs = 1;
^~~~~~
user.cpp:27:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !