Borderou de evaluare (job #2237819)
Utilizator | Data | 3 septembrie 2018 12:13:29 | |
---|---|---|---|
Problema | Cifra | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:25: error: expected ‘]’ before ‘,’ token
int n, cifre[11][11, termen];
^
user.cpp:9:33: error: expected initializer before ‘]’ token
int n, cifre[11][11, termen];
^
user.cpp:13:12: error: ‘t’ was not declared in this scope
in >> t;
^
user.cpp:17:4: error: ‘cifre’ was not declared in this scope
cifre[i][j] = 1;
^~~~~
user.cpp:18:24: error: unable to find numeric literal operator ‘operator""i’
for(int l = 1; l <= 10i + j; l++) {
^~~
user.cpp:18:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
user.cpp:19:5: error: ‘termen’ was not declared in this scope
termen = 1;
^~~~~~
user.cpp:31:10: error: ‘cifre’ was not declared in this scope
out << cifre[(n % 100) / 10][n % 10] << endl;
^~~~~
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !