Borderou de evaluare (job #1455745)
Utilizator | Data | 29 iunie 2015 00:00:42 | |
---|---|---|---|
Problema | Loto | 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:69:21: error: invalid operands of types ‘long int’ and ‘long int*’ to binary ‘operator-’
if(sume3[k-1] < S-sume3)
^
user.cpp: In function ‘int cautare(long int*, long int, int, int)’:
user.cpp:41:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:49:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%d%ld", &n, &S);
^
user.cpp:54:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f1, "%ld", &v[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !