Borderou de evaluare (job #1344192)
Utilizator | Data | 16 februarie 2015 15:10:08 | |
---|---|---|---|
Problema | Sortare prin comparare | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j=1;j<=n;j++)
^
user.cpp:15:13: error: ‘v’ was not declared in this scope
in>>v[i];
^
user.cpp:17:10: error: ‘v’ was not declared in this scope
sort(v,v+n);
^
user.cpp:18:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1;i<=n;i++)
^
user.cpp:10:26: warning: unused variable ‘nn’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
user.cpp:10:29: warning: unused variable ‘nr’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
user.cpp:10:34: warning: unused variable ‘mm’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
user.cpp:10:37: warning: unused variable ‘c’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
user.cpp:10:41: warning: unused variable ‘k’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
user.cpp:10:43: warning: unused variable ‘x’ [-Wunused-variable]
unsigned long long i,nn,nr=0,mm,c=0,k,x,j;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !