Skip to content

Instantly share code, notes, and snippets.

View kehanlu's full-sized avatar
:shipit:

Kehan Lu kehanlu

:shipit:
View GitHub Profile
#include <iostream>
#include <vector>
using namespace std;
int main(){
int T;
cin >> T;
while(T--){
bool found[200001] = {0};
@kehanlu
kehanlu / Ubuntu.md
Last active September 16, 2021 14:00
/***********************************************************************************
*This program is a demo of how to use the touch function in a phone GUI
*This demo was made for LCD modules with 8bit or 16bit data port.
*This program requires the the LCDKIWI library.
* File : display_phonecall.ino
* Hardware Environment: Arduino UNO&Mega2560
* Build Environment : Arduino
*Set the pins to the correct ones for your development shield or breakout board.