Submission #646887

#TimeUsernameProblemLanguageResultExecution timeMemory
646887danikoynovNicelines (RMI20_nicelines)C++14
11 / 100
0 ms208 KiB
/** ____ ____ ____ ____ ____ ____ ||l |||e |||i |||n |||a |||d || ||__|||__|||__|||__|||__|||__|| |/__\|/__\|/__\|/__\|/__\|/__\| **/ #include<bits/stdc++.h> #define endl '\n' #include "nice_lines.h" using namespace std; typedef long long ll; void solve(int subtask_id, int N) { long double d1 = query(0, 0); long double d2 = query(0, 1); long double y1 = d1 / (d1 - d2); long double d3 = query(1, 0); long double d4 = query(1, 1); long double y2 = d3 / (d3 - d4); vector < int > a, b; a.push_back((round)(y2 - y1)); b.push_back((round)(y1)); the_lines_are(a, b); }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...