Borderou de evaluare (job #3241179)
Utilizator | Data | 27 august 2024 14:39:09 | |
---|---|---|---|
Problema | Frac | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:14: error: 'SS' does not name a type
7 | long long n;SS
| ^~
main.cpp: In function 'int calc(long long int)':
main.cpp:23:13: error: 'poz' was not declared in this scope; did you mean 'pow'?
23 | poz++;
| ^~~
| pow
main.cpp:24:13: error: 'fact' was not declared in this scope
24 | fact[poz]=d;
| ^~~~
main.cpp:42:1: warning: no return statement in function returning non-void [-Wreturn-type]
42 | }
| ^
main.cpp: In function 'long long int calc1(long long int, long long int)':
main.cpp:47:23: error: 'poz' was not declared in this scope; did you mean 'pow'?
47 | for(int i=1;i<(1<<poz);i++)
| ^~~
| pow
main.cpp:56:23: error: 'fact' was not declared in this scope
56 | prod*=fact[k+1];
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !