Submission #858095

# Submission time Handle Problem Language Result Execution time Memory
858095 2023-10-07T11:58:36 Z boris_mihov Nicelines (RMI20_nicelines) C++17
0 / 100
1 ms 440 KB
#include "nice_lines.h"
#include <algorithm>
#include <iostream>
#include <numeric>
#include <cassert>
#include <vector>

typedef long long llong;
const int MAXN = 100 + 10;

void solve(int subtask_id, int N) 
{
    int a, b, res;
    res = query(0, -1e5);
    b = res - 1e5;
    a = query(1, -1e5) - res;
    the_lines_are({a}, {b});
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 432 KB Output is correct
2 Incorrect 0 ms 432 KB Incorrect
3 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 432 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 436 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 432 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 440 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 432 KB Incorrect
2 Halted 0 ms 0 KB -