Borderou de evaluare (job #763444)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Cub | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 20 feb. 2024 14:53:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:1: error: 'int_fast16_t' does not name a type
11 | int_fast16_t n, m, a[21][21][21], pd[22][22][22], i, j, k, puncte;
| ^~~~~~~~~~~~
main.cpp:15:5: error: 'int_fast16_t' does not name a type
15 | int_fast16_t x, y, z;
| ^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:23:12: error: 'n' was not declared in this scope
23 | fin >> n >> m;
| ^
main.cpp:23:17: error: 'm' was not declared in this scope; did you mean 'tm'?
23 | fin >> n >> m;
| ^
| tm
main.cpp:24:9: error: 'i' was not declared in this scope
24 | for(i=0; i < m; i++)
| ^
main.cpp:26:20: error: 'struct point' has no member named 'x'
26 | fin >> aux.x >> aux.y >> aux.z >> puncte;
| ^
main.cpp:26:29: error: 'struct point' has no member named 'y'
26 | fin >> aux.x >> aux.y >> aux.z >> puncte;
| ^
main.cpp:26:38: error: 'struct point' has no member named 'z'
26 | fin >> aux.x >> aux.y >> aux.z >> puncte;
| ^
main.cpp:26:43: error: 'puncte' was not declared in this scope
26 | fin >> aux.x >> aux.y >> aux.z >> puncte;
| ^~~~~~
main.cpp:27:9: error: 'a' was not declared in this scope
27 | a[aux.x][aux.y][aux.z] = puncte;
| ^
main.cpp:27:15: error: 'struct point' has no member named 'x'
27 | a[aux.x][aux.y][aux.z] = puncte;
| ^
main.cpp:27:22: error: 'struct point' has no member named 'y'
27 | a[aux.x][aux.y][aux.z] = puncte;
| ^
main.cpp:27:29: error: 'struct point' has no member named 'z'
27 | a[aux.x][aux.y][aux.z] = puncte;
| ^
main.cpp:29:9: error: 'i' was not declared in this scope
29 | for(i=0; i <= n+1; i++)
| ^
main.cpp:31:13: error: 'j' was not declared in this scope
31 | for(j=0; j <= n+1; j++)
| ^
main.cpp:33:17: error: 'k' was not declared in this scope
33 | for(k=0; k <= n+1; k++)
| ^