Borderou de evaluare (job #1436943)
Utilizator | Data | 16 mai 2015 17:35:58 | |
---|---|---|---|
Problema | Cerc5 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int sol1()’:
user.cpp:23:12: error: ‘N’ was not declared in this scope
for( i=N;i>=1;i--)
^
user.cpp:25:9: error: ‘DP’ was not declared in this scope
DP[i]=0;
^
user.cpp:27:16: error: ‘a’ was not declared in this scope
if(a[i]<a[j]&&DP[i]<DP[j])
^
user.cpp:33:16: error: ‘N’ was not declared in this scope
for(i=1;i<=N;i++)
^
user.cpp:34:12: error: ‘DP’ was not declared in this scope
if(DP[i]>M)
^
user.cpp:34:18: error: ‘M’ was not declared in this scope
if(DP[i]>M)
^
user.cpp:36:12: error: ‘M’ was not declared in this scope
return M;
^
user.cpp: In function ‘int main()’:
user.cpp:47:9: warning: unused variable ‘x’ [-Wunused-variable]
int x;
^
user.cpp: In function ‘int sol1()’:
user.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !