Borderou de evaluare (job #2302126)
Utilizator | Data | 13 decembrie 2018 20:30:57 | |
---|---|---|---|
Problema | Invers modular | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected initializer before 'void'
void E(ll &x,ll &y,int a,int b)
^~~~
main.cpp: In function 'int main()':
main.cpp:18:9: error: 'y' was not declared in this scope
E(x,y,a,n);
^
main.cpp:18:14: error: 'E' was not declared in this scope
E(x,y,a,n);
^
main.cpp:15:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inversmodular.in","r",stdin);
^
main.cpp:16:44: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("inversmodular.out","w",stdout);
^
main.cpp:17:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&n);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !