Borderou de evaluare (job #1256577)
Utilizator | Data | 6 noiembrie 2014 16:36:09 | |
---|---|---|---|
Problema | Radix Sort | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void radixsort()’:
user.cpp:14:20: error: ‘exp’ was not declared in this scope
while(NMax>(1<<exp))
^
user.cpp:16:13: error: ‘i’ was not declared in this scope
for(i=0;i<=BASE;i++)
^
user.cpp:18:13: error: ‘i’ was not declared in this scope
for(i=1;i<=N;i++)
^
user.cpp:20:13: error: ‘i’ was not declared in this scope
for(i=1;i<=BASE;i++)
^
user.cpp:22:13: error: ‘i’ was not declared in this scope
for(i=N;i>0;i--)
^
user.cpp:24:13: error: ‘i’ was not declared in this scope
for(i=1;i<=N;i++)
^
user.cpp: In function ‘int main()’:
user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in","r",stdin);
^
user.cpp:34:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.out","w",stdout);
^
user.cpp:35:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&N,&A,&B,&C);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !