This file contains hidden or 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
// http://dl.gsu.by/task.jsp?nid=1835989&cid=19 | |
// Гомельская гор.\2019\Областная 1-9 кл, 19 апреля\5-9 кл\8 - "Двоичные числа-2" 218491 Долинский М.С., апрель 2018 | |
#include "bits/stdc++.h" | |
using namespace std; | |
typedef long long int64; | |
int main() { |
This file contains hidden or 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
// http://dl.gsu.by/task.jsp?nid=1756324&cid=1105 | |
// К области 5-9 (весна)\Область, 5 мая 2011, 4 - 8 кл\10 - "Ты с какого района?!" 103054 Вераксич, Коржик, Тимошков | |
#include "bits/stdc++.h" | |
using namespace std; | |
const int N = 100; | |
int districts[N*N] {0}; // счётчики районов | |
int dcount = 0; | |
int* waste = nullptr; // пустырь |
This file contains hidden or 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 N = 500; | |
const int N2 = 2 * N + 1; | |
typedef bool A[N2]; | |
A _a_[N2]; | |
bool* _a[N2]; |