Problem | permutationgrid |
---|---|
User | WHEE29alt |
Submission Time | 2024-12-07 14:37:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
permutationgrid.cpp: In function ‘int main()’:
permutationgrid.cpp:27:95: error: expected ‘;’ before ‘{’ token
27 | if (t - 1 == nt && (((teh - nteh) * (teh - nteh) == 1) ^ ((tew - ntew) * (tew - ntew) == 1)){
| ^
| ;
permutationgrid.cpp:30:3: error: expected primary-expression before ‘else’
30 | else fail.first = true;
| ^~~~
permutationgrid.cpp:29:4: error: expected ‘)’ before ‘else’
29 | }
| ^
| )
30 | else fail.first = true;
| ~~~~
permutationgrid.cpp:27:6: note: to match this ‘(’
27 | if (t - 1 == nt && (((teh - nteh) * (teh - nteh) == 1) ^ ((tew - ntew) * (tew - ntew) == 1)){
| ^