Borderou de evaluare (job #3309705)
| Utilizator | Data | 7 septembrie 2025 22:22:20 | |
|---|---|---|---|
| Problema | Factorial | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'long long int cb(long int, long long unsigned int, long long unsigned int)':
main.cpp:18:11: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare]
18 | if (f == p) r = c, b = c - 1;
| ~~^~~~
main.cpp:19:16: warning: comparison of integer expressions of different signedness: 'long long unsigned int' and 'long int' [-Wsign-compare]
19 | else if (f < p) a = c + 1;
| ~~^~~
main.cpp: In function 'int main()':
main.cpp:31:25: error: request for member 'in' in 'fact', which is of non-class type 'long int(long long unsigned int)'
31 | std::ifstream in(fact.in);
| ^~
main.cpp:32:26: error: request for member 'out' in 'fact', which is of non-class type 'long int(long long unsigned int)'
32 | std::ofstream out(fact.out);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
