Submission #164286

# Submission time Handle Problem Language Result Execution time Memory
164286 2019-11-18T22:02:48 Z daddy0h 일차 함수 (tutorial4) C++11
100 / 100
2 ms 504 KB
/// 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;

void solve() {

	int x1 = 0;
	int b = f(x1);
	int x2 = 1;
	int a = f(x2) - b;
	
	Report(a, b);
}
# Verdict Execution time Memory Grader output
1 Correct 2 ms 376 KB Output is correct
2 Correct 2 ms 376 KB Output is correct
3 Correct 2 ms 376 KB Output is correct
4 Correct 2 ms 376 KB Output is correct
5 Correct 2 ms 256 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 376 KB Output is correct
2 Correct 2 ms 376 KB Output is correct
3 Correct 2 ms 504 KB Output is correct
4 Correct 2 ms 256 KB Output is correct
5 Correct 2 ms 376 KB Output is correct
# Verdict Execution time Memory Grader output
1 Correct 2 ms 376 KB Output is correct
2 Correct 2 ms 376 KB Output is correct
3 Correct 2 ms 256 KB Output is correct
4 Correct 2 ms 380 KB Output is correct
5 Correct 2 ms 376 KB Output is correct