This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
const int MAXN = 1000000; | |
int n, x; | |
int a[MAXN+10]; | |
bool findX(int i){ | |
if(i >= n) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import telebot | |
import datetime | |
import time | |
import random | |
from isoweek import Week | |
import config | |
counter = -1 | |
tb = telebot.TeleBot(config.token) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
int main(){ | |
int n,m; | |
cin >> n >> m; | |
int a[n+1][m+1]; | |
for(int i = 1; i <= n; i++){ | |
for(int j = 1; j <= m; j++){ | |
cin >> a[i][j]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define sqr(a) (a) * (a) | |
using namespace std; | |
const int MAXN = 1000000; | |
int n, c1, c2; | |
int x[MAXN+10], y[MAXN+10], r[MAXN+10]; | |
double dist; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define sqr(a) (a) * (a) | |
using namespace std; | |
int n; | |
string s[1000000]; | |
int a[1000000]; | |
int main(){ | |
cin >> n; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker build | |
FROM ubuntu:latest | |
MAINTAINER SEMIOR <ura2178@gmail.com> | |
ENV TZ=Asia/Almaty \ | |
HOST=localhost \ | |
DOMAIN=localdomain \ | |
INET_PROTOCOLS=ipv4 \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pluginRepositories> | |
<pluginRepository> | |
<id>apache.snapshots</id> | |
<name>Maven Plugin Snapshots</name> | |
<url>http://repository.apache.org/snapshots/</url> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Xml.Serialization; | |
namespace Quiz29March | |
{ | |
public class Person |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading; | |
namespace Quiz29March | |
{ | |
public class Task2 | |
{ | |
public static void Main(string[] args) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
#define F first | |
#define S second | |
#define mp make_pair | |
#define pb push_back | |
#define ll long long | |
#define INF (1<<30) | |
#define sqr(a) (a)*(a) | |
#define endl '\n' | |
using namespace std; |
OlderNewer