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 <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
using namespace std; | |
typedef long long int lint; | |
int n; | |
vector<int> arr; | |
lint f( lint b) |
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 <cmath> | |
#include <climits> | |
#include <queue> | |
#include <vector> | |
#include <map> | |
#include <cstdlib> | |
#include <fstream> | |
#include <iomanip> | |
#include <iostream> | |
#include <sstream> // istringstream buffer(myString); |
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 pb push_back | |
#define fi first | |
#define sc second | |
#define inf 1000000000000000LL | |
#define MP make_pair | |
#define min3(a,b,c) min(a,min(b,c)) | |
#define max3(a,b,c) max(a,max(b,c)) | |
#define dbg(x) cerr<<#x<<":"<<x<<endl | |
#define N 100005 |
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 pb push_back | |
#define fi first | |
#define sc second | |
#define inf 1000000000000000LL | |
#define MP make_pair | |
#define min3(a,b,c) min(a,min(b,c)) | |
#define max3(a,b,c) max(a,max(b,c)) | |
#define dbg(x) cerr<<#x<<":"<<x<<endl | |
#define N 200005 |
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 pb push_back | |
#define fi first | |
#define sc second | |
#define inf 1000000000000000LL | |
#define MP make_pair | |
#define min3(a,b,c) min(a,min(b,c)) | |
#define max3(a,b,c) max(a,max(b,c)) | |
#define dbg(x) cerr<<#x<<":"<<x<<endl | |
#define N 100005 |
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 pb push_back | |
#define fi first | |
#define sc second | |
#define inf 1000000000000000LL | |
#define MP make_pair | |
#define min3(a,b,c) min(a,min(b,c)) | |
#define max3(a,b,c) max(a,max(b,c)) | |
#define dbg(x) cerr<<#x<<":"<<x<<endl | |
#define N 50005 |
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; | |
#define MOD (int)(1e9) | |
//#define __ <<" "<< | |
typedef long long int lint; | |
class Point | |
{ | |
public: | |
double x, y; | |
void print() |
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; | |
typedef __int128_t lint; | |
typedef __uint128_t ulint; | |
#define mod(x) x%1000000007 | |
long long int n,mm; | |
lint tot = 0; | |
lint bits[64]; |
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
sudo socat PTY,link=/dev/ttyPP0,group=dialout,user=${USER} PTY,link=/dev/ttyPP1,group=dialout,user=${USER} |
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
.syntax unified | |
.thumb_func | |
.global main | |
main: | |
init: bl stdio_init_all | |
loop: | |
ldr r0, DELAY_TIME_MS // Set the delay period | |
bl sleep_ms // Delay for the specified time |
OlderNewer