Borderou de evaluare (job #1218591)
Utilizator | Data | 11 august 2014 20:15:02 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:30: error: ‘stdin’ was not declared in this scope
freopen("cmlsc.in", "r", stdin);
^
user.cpp:6:35: error: ‘freopen’ was not declared in this scope
freopen("cmlsc.in", "r", stdin);
^
user.cpp:7:31: error: ‘stdout’ was not declared in this scope
freopen("cmlsc.out", "w", stdout);
^
user.cpp:9:21: error: ‘M’ was not declared in this scope
scanf("%d %d", &M, &N);
^
user.cpp:9:25: error: ‘N’ was not declared in this scope
scanf("%d %d", &M, &N);
^
user.cpp:9:26: error: ‘scanf’ was not declared in this scope
scanf("%d %d", &M, &N);
^
user.cpp:10:17: error: ‘FOR’ was not declared in this scope
FOR (i, 1, M)
^
user.cpp:11:9: error: expected ‘;’ before ‘scanf’
scanf("%d", &A[i]);
^
user.cpp:13:9: error: expected ‘;’ before ‘scanf’
scanf("%d", &B[i]);
^
user.cpp:16:9: error: expected ‘;’ before ‘FOR’
FOR (j, 1, N)
^
user.cpp:19:13: error: ‘else’ without a previous ‘if’
else
^
user.cpp:20:17: error: ‘D’ was not declared in this scope
D[i][j] = maxim(D[i-1][j], D[i][j-1]);
^
user.cpp:20:53: error: ‘maxim’ was not declared in this scope
D[i][j] = maxim(D[i-1][j], D[i][j-1]);
^
user.cpp:23:13: error: ‘A’ was not declared in this scope
if (A[i] == B[j])
^
user.cpp:23:21: error: ‘B’ was not declared in this scope
if (A[i] == B[j])
^
user.cpp:24:13: error: ‘sir’ was not declared in this scope
sir[++bst] = A[i], --i, --j;
^
user.cpp:24:19: error: ‘bst’ was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !