Borderou de evaluare (job #3318324)
| Utilizator | Data | 27 octombrie 2025 23:06:40 | |
|---|---|---|---|
| Problema | Aliniate | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:10:13: error: expected ';' at end of member declaration
10 | #define int ll
| ^~
main.cpp:19:14: note: in expansion of macro 'int'
19 | unsigned int cnt2, produs;
| ^~~
main.cpp:19:18: error: 'cnt2' does not name a type
19 | unsigned int cnt2, produs;
| ^~~~
main.cpp:26:24: error: expected ',' or '...' before 'x'
26 | int getP2(unsigned int x) {
| ^
main.cpp: In function 'll getP2(unsigned int)':
main.cpp:27:9: error: expected ';' before 'cnt'
27 | int cnt = 0;
| ^~~
main.cpp:10:13: warning: statement has no effect [-Wunused-value]
10 | #define int ll
| ^~
main.cpp:27:5: note: in expansion of macro 'int'
27 | int cnt = 0;
| ^~~
main.cpp:28:12: error: 'x' was not declared in this scope
28 | while (x % 2 == 0) {
| ^
main.cpp:29:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
29 | cnt++;
| ^~~
| int
main.cpp:32:12: error: 'cnt' was not declared in this scope; did you mean 'int'?
32 | return cnt;
| ^~~
| int
main.cpp: At global scope:
main.cpp:35:60: error: expected ',' or '...' before 'val'
35 | void update(int st, int dr, int ust, int udr, unsigned int val) {
| ^~~
main.cpp: In function 'void update(ll, ll, ll, ll, unsigned int)':
main.cpp:40:15: error: 'struct Node' has no member named 'produs'
40 | v[id].produs = 1;
| ^~~~~~
main.cpp:41:15: error: 'struct Node' has no member named 'cnt2'
41 | v[id].cnt2 = 0;
| ^~~~
main.cpp:49:15: error: 'struct Node' has no member named 'produs'
49 | v[id].produs = val;
| ^~~~~~
main.cpp:49:24: error: 'val' was not declared in this scope
49 | v[id].produs = val;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
