# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
164285 | daddy0h | 일차 함수 (tutorial4) | C++11 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
/// https://oj.uz/problem/view/tutorial4
/// f(x) = ax + b;
/// -10^2 <= x <= 10^2
/// -10^5 <= a, b <= 10^5
#include <bits/stdc++.h>
#include "grader.h"
using namespace std;
#include "grader.h"
void solve() {
int x1 = 0;
int b = f(x1);
int a;
int x2 = 1;
int a = f(x2) - b;
Report(a, b);
}