diff --git a/A1/id_query.c b/A1/id_query.c index 595fc4d..cd103fa 100644 --- a/A1/id_query.c +++ b/A1/id_query.c @@ -33,9 +33,6 @@ int id_query_loop(int argc, char** argv, mk_index_fn mk_index, free_index_fn fre uint64_t runtime_sum = 0; while (getline(&line, &line_len, stdin) != -1) { - if (line[0] == '\n') { - break; - } int64_t needle = atol(line); start = microseconds(); diff --git a/A1/id_query_indexed b/A1/id_query_indexed index ac1c42b..1c5affc 100755 Binary files a/A1/id_query_indexed and b/A1/id_query_indexed differ