Borderou de evaluare (job #746901)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Biscuit | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 23 nov. 2023 17:02:25 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void set(int, int, int, int)':
main.cpp:14:7: error: invalid types 'int[int]' for array subscript
14 | mat [ j ] [ i >> 6 ] = ( mat [ j ] [ i >> 6 ] & mask) ^ ( ( u64 ) x << ( i & 63 ) ) ;
| ^
main.cpp:14:32: error: invalid types 'int[int]' for array subscript
14 | mat [ j ] [ i >> 6 ] = ( mat [ j ] [ i >> 6 ] & mask) ^ ( ( u64 ) x << ( i & 63 ) ) ;
| ^
main.cpp: In function 'int get(int, int, int)':
main.cpp:18:16: error: invalid types 'int[int]' for array subscript
18 | return ( mat [ j ] [i >> 6] >> ( i & 63 ) ) & 1;
| ^