Borderou de evaluare (job #2474903)
Utilizator | Data | 15 octombrie 2019 22:32:40 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:51:13: error: expected initializer before 'fopen'
FILE *f fopen(f, "inversmodular.in", "r");
^~~~~
main.cpp:52:13: error: expected initializer before 'fopen'
FILE *g fopen (g, "inversmodular.out", "w");
^~~~~
main.cpp:53:14: error: 'f' was not declared in this scope
fscanf (f, "%d%d", &a, &n);
^
main.cpp:54:29: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
eulcid_eXt(a, n, 1, x, y);
^
main.cpp:7:6: note: initializing argument 4 of 'void eulcid_eXt(int, int, int, int&, int&)'
void eulcid_eXt(int a, int b, int c, int &x, int &y)
^~~~~~~~~~
main.cpp:58:13: error: 'g' was not declared in this scope
fprintf(g, "%d", x);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !