text stringclasses 4
values | tok_len int64 194 920 |
|---|---|
<|system|>You are a helpful coding assistant.<|user|>Fix or complete the following code:
python:
Monocarp and Polycarp are learning new programming techniques. Now they decided to try pair programming.
It's known that they have worked together on the same file for n + m minutes. Every minute exactly one of them made ... | 920 |
<|system|>You are a helpful coding assistant.<|user|>Fix or complete the following code:
python:
4 different points on the plane Read the coordinates of $ A (x_a, y_a) $, $ B (x_b, y_b) $, $ C (x_c, y_c) $, $ D (x_d, y_d) $ and read those 4 points Create a program that outputs YES if there is no dent in the quadrangle... | 410 |
<|system|>You are a helpful coding assistant.<|user|>Fix or complete the following code:
python:
You are given an equation:
Ax2 + Bx + C = 0.
Your task is to find the number of distinct roots of the equation and print all of them in ascending order.
Input
The first line contains three integer numbers A, B and C (... | 194 |
<|system|>You are a helpful coding assistant.<|user|>Fix or complete the following code:
python:
Given a string s. Can you make it a palindrome by deleting exactly one character? Note that size of the string after deletion would be one less than it was before.
Input
First line of the input contains a single integer T ... | 215 |
README.md exists but content is empty.
- Downloads last month
- 13