Borderou de evaluare (job #1540949)
Utilizator | Data | 3 decembrie 2015 15:56:20 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:2:1: error: ‘ifstream’ does not name a type
ifstream in("invers modular.in");
^
user.cpp:3:1: error: ‘ofstream’ does not name a type
ofstream out("invers modular.out");
^
user.cpp: In function ‘int main()’:
user.cpp:9:5: error: ‘in’ was not declared in this scope
in>>a>>n;
^
user.cpp:26:5: error: ‘out’ was not declared in this scope
out<<nr%n;
^
user.cpp:8:13: warning: unused variable ‘i’ [-Wunused-variable]
int a,n,i,f=0,p,nr,p2=1;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !