Borderou de evaluare (job #859088)
| Utilizator |
|
IP | ascuns |
|---|---|---|---|
| Problemă | Jimjam (clasa a 5-a) | Compilator | cpp |
| Rundă | Arhiva de probleme | Status | evaluat |
| Dată | 7 apr. 2026 16:11:05 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:11:28: error: expected ';' before 'long'
11 | fin >> A >> B >> Z >> D
| ^
| ;
12 |
13 | long long distZ;
| ~~~~
main.cpp:16:9: error: 'distZ' was not declared in this scope
16 | distZ = perechiZ * (A - B);
| ^~~~~
main.cpp:18:9: error: 'distZ' was not declared in this scope
18 | distZ = perechiZ * (A - B) + A;
| ^~~~~
main.cpp:35:13: error: 'distZ' was not declared in this scope
35 | fout << distZ << " " << ziuaD << endl;
| ^~~~~