Borderou de evaluare (job #2663080)
Utilizator | Data | 25 octombrie 2020 12:13:46 | |
---|---|---|---|
Problema | Ramen | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:11: error: expected primary-expression before '=' token
#define N = 100010;
^
main.cpp:6:26: note: in expansion of macro 'N'
int n, T, tp, po, i, sol[N];
^
main.cpp:5:19: error: expected ']' before ';' token
#define N = 100010;
^
main.cpp:6:26: note: in expansion of macro 'N'
int n, T, tp, po, i, sol[N];
^
main.cpp:6:27: error: expected unqualified-id before ']' token
int n, T, tp, po, i, sol[N];
^
main.cpp: In function 'int main()':
main.cpp:22:9: error: 'sol' was not declared in this scope
sol[i] = *IT + T + po;
^~~
main.cpp:26:14: error: 'sol' was not declared in this scope
g << sol[i] <<'\n';
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !