Borderou de evaluare (job #849679)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Bomboane4 | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 26 ian. 2026 16:35:07 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:19:31: error: 'k' was not declared in this scope
19 | unsigned p=a[i]-a[k-1],q=i-k+1,t=__gcd(p,q);
| ^
main.cpp:20:16: error: 't' was not declared in this scope
20 | p/=t,q/=t;
| ^
main.cpp:20:18: error: 'q' was not declared in this scope
20 | p/=t,q/=t;
| ^