Borderou de evaluare (job #715732)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Joc4 (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 19 apr. 2023 12:52:28 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:3:2: error: invalid preprocessing directive #deine; did you mean #define?
3 | #deine ll long long
| ^~~~~
| define
main.cpp:7:10: error: 'll' was not declared in this scope
7 | int log3(ll k){
| ^~
main.cpp: In function 'int main()':
main.cpp:12:9: error: 'll' was not declared in this scope
12 | ll s;
| ^~
main.cpp:13:14: error: 's' was not declared in this scope
13 | cin>>s;
| ^
main.cpp:14:33: error: 'log3' cannot be used as a function
14 | cout<<s-pow(3,floor(log3(s)));
| ~~~~^~~