Borderou de evaluare (job #3163215)
Utilizator | Data | 30 octombrie 2023 22:51:11 | |
---|---|---|---|
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 Binary_Search(long long int)':
main.cpp:11:12: error: 'Count' was not declared in this scope
11 | if(Count(m) < n) {
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:34:23: error: 'r' was not declared in this scope
34 | freopen("fact.in",r,stdin);
| ^
main.cpp:35:24: error: 'w' was not declared in this scope
35 | freopen("fact.out",w,stdout);
| ^
main.cpp:38:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
38 | scanf("%d",&p);
| ~^ ~~
| | |
| | long long int*
| int*
| %lld
main.cpp:40:12: warning: too many arguments for format [-Wformat-extra-args]
40 | printf("lld\n",n);
| ^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !