Borderou de evaluare (job #2797770)
Utilizator | Data | 10 noiembrie 2021 16:20:08 | |
---|---|---|---|
Problema | Euler | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:6: error: conflicting declaration 'bool b [262500]'
4 | bool b[N],o=1;
| ^
main.cpp:3:32: note: previous declaration as 'int b'
3 | int S[N],p[N*2],a[N*2],n,k,m,i,b;
| ^
main.cpp: In function 'int main()':
main.cpp:8:84: error: 'gets' was not declared in this scope; did you mean 'fgets'?
8 | freopen("euler.in","r",stdin),freopen("euler.out","w",stdout),scanf("%d\n",&n),gets(c),k=strlen(c);
| ^~~~
| fgets
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !