#include <stdio.h>
#include "nice_lines.h"
void solve(int subtask_id, int N) {
if (sizeof(long double) == 12) assert(0);
//printf("subtask_id = %d, N = %d\n", subtask_id, N);
//printf("query(0, 0) = %Lf\n", query(0, 0));
//printf("query(1, 1) = %Lf\n", query(1, 1));
the_lines_are({1}, {0});
}
Compilation message
nicelines.cpp: In function 'void solve(int, int)':
nicelines.cpp:5:36: error: 'assert' was not declared in this scope
5 | if (sizeof(long double) == 12) assert(0);
| ^~~~~~
nicelines.cpp:3:1: note: 'assert' is defined in header '<cassert>'; did you forget to '#include <cassert>'?
2 | #include "nice_lines.h"
+++ |+#include <cassert>
3 |