Borderou de evaluare (job #2648649)
Utilizator | Data | 12 septembrie 2020 10:47:50 | |
---|---|---|---|
Problema | Al k-lea termen Fibonacci | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void inmultire(int (*)[3], int (*)[3])':
main.cpp:24:29: error: 'memset' was not declared in this scope
memset(aux,0,sizeof(aux));
^
main.cpp:31:29: error: 'memcpy' was not declared in this scope
memcpy(a,aux,sizeof(aux));
^
main.cpp: In function 'int main()':
main.cpp:50:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.in","r",stdin);
^
main.cpp:51:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("kfib.out","w",stdout);
^
main.cpp:53:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !