Borderou de evaluare (job #1366214)
Utilizator | Data | 28 februarie 2015 20:51:11 | |
---|---|---|---|
Problema | Heavy metal | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void hd(long int, long int)’:
user.cpp:9:29: error: ‘sh’ was not declared in this scope
if(b[is]>b[ic]){sh(is,ic);hd(is,nc);}
^
user.cpp: In function ‘int main()’:
user.cpp:33:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%ld",&n);
^
user.cpp:34:55: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) fscanf(fin,"%ld%ld",&a[i],&b[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !