Borderou de evaluare (job #3163971)
Utilizator | Data | 1 noiembrie 2023 19:53:11 | |
---|---|---|---|
Problema | Divizori Primi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:1: error: expected initializer before 'int'
10 | int nrdiv[1000005]
| ^~~
main.cpp: In function 'int main()':
main.cpp:18:12: error: 'ciur' was not declared in this scope
18 | if(ciur[i]==0)
| ^~~~
main.cpp:22:17: error: 'nrdiv' was not declared in this scope
22 | nrdiv[j]++;
| ^~~~~
main.cpp:32:16: error: 'nrdiv' was not declared in this scope
32 | if(nrdiv[i]==k) poz=i;
| ^~~~~
main.cpp:33:13: error: 'a' was not declared in this scope
33 | a[k][i]=poz;
| ^
main.cpp:40:15: error: 'a' was not declared in this scope
40 | fout<<a[k][n]<<"\n";
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !