Borderou de evaluare (job #3334685)
| Utilizator | Data | 19 ianuarie 2026 08:35:48 | |
|---|---|---|---|
| Problema | Reguli | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:18:11: error: invalid types 'int [1000001][int [500001]]' for array subscript
18 | pp[x] = (p1 * pp[x - 1]) % mod;
| ^
main.cpp:18:25: error: invalid types 'int [1000001][int*]' for array subscript
18 | pp[x] = (p1 * pp[x - 1]) % mod;
| ^
main.cpp:35:21: warning: unused variable 'b' [-Wunused-variable]
35 | int b = s[j];
| ^
main.cpp:39:18: error: 'j' was not declared in this scope
39 | for (i = j + 1; i < n && ebun == 1; i+=j) {
| ^
main.cpp:40:17: error: 'sa' was not declared in this scope; did you mean 's'?
40 | sa = cod(i, i + j - 1);
| ^~
| s
main.cpp:41:20: error: 'b' was not declared in this scope
41 | if(b != sa){
| ^
main.cpp:46:24: error: 'j' was not declared in this scope
46 | printf("%d\n", j);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
