Borderou de evaluare (job #3314860)
| Utilizator | Data | 11 octombrie 2025 12:50:58 | |
|---|---|---|---|
| Problema | Suma si numarul divizorilor | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: 'vector' does not name a type
13 | vector<int> primes;
| ^~~~~~
main.cpp: In function 'void ComputeSieve()':
main.cpp:27:13: error: 'primes' was not declared in this scope
27 | primes.push_back(i);
| ^~~~~~
main.cpp: In function 'std::pair<int, int> nrsumdiv(long long unsigned int)':
main.cpp:41:17: error: 'primes' was not declared in this scope
41 | int d = primes[i];
| ^~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
