Borderou de evaluare (job #2383196)
Utilizator | Data | 19 martie 2019 10:20:05 | |
---|---|---|---|
Problema | Nrcuv1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void inmult(int*, int)':
main.cpp:20:13: error: 'N' was not declared in this scope
int aux[N+5];
^
main.cpp:21:14: error: 'aux' was not declared in this scope
prod(a,b,aux);
^~~
main.cpp: In function 'int main()':
main.cpp:35:11: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp:36:19: error: 'strlen' was not declared in this scope
int m=strlen(s);
^
main.cpp:38:9: error: 'b' was not declared in this scope
b[i]=a[i]=s[i-1]-'0';
^
main.cpp:38:14: error: 'a' was not declared in this scope
b[i]=a[i]=s[i-1]-'0';
^
main.cpp:39:5: error: 'b' was not declared in this scope
b[0]=a[0]=m;
^
main.cpp:39:10: error: 'a' was not declared in this scope
b[0]=a[0]=m;
^
main.cpp:29:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("necuv1.in","r",stdin);
^
main.cpp:30:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("necuv1.out","w",stdout);
^
main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:34:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("necuv1.in","r",stdin);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !