Borderou de evaluare (job #691212)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Culegere (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 29 ian. 2023 14:06:03 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:38:10: error: 'p' cannot be used as a function
38 | t = p(p+1);/2
| ~^~~~~
main.cpp:38:16: error: expected primary-expression before '/' token
38 | t = p(p+1);/2
| ^
main.cpp:40:11: error: 'tc' was not declared in this scope; did you mean 't'?
40 | cifct(tc);
| ^~
| t
main.cpp:42:9: warning: unused variable 'i' [-Wunused-variable]
42 | int i = 1;
| ^