Borderou de evaluare (job #1258128)
Utilizator | Data | 8 noiembrie 2014 15:10:56 | |
---|---|---|---|
Problema | Dreptunghiuri5 | 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:18:43: error: ‘x’ was not declared in this scope
Dpc[i][j] = Dpc[i-1][j] + 1 - x;
^
user.cpp:24:33: error: ‘Stack’ was not declared in this scope
while(top && Dpc[i][Stack[top]] >= Dpc[i][j])
^
user.cpp:26:13: error: ‘Stack’ was not declared in this scope
Stack[++top] = j;
^
user.cpp:33:23: error: ‘Ans’ was not declared in this scope
++Ans;
^
user.cpp:37:20: error: ‘Ans’ was not declared in this scope
printf("%d\n", Ans);
^
user.cpp:11:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri5.in", "r", stdin);
^
user.cpp:12:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri5.out", "w", stdout);
^
user.cpp:13:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !