Skip to content

Instantly share code, notes, and snippets.

View pyq's full-sized avatar
🐶

Yongqing pyq

🐶
  • San Francisco
View GitHub Profile
@n1snt
n1snt / Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
Last active March 11, 2026 02:10
Oh my ZSH with zsh-autosuggestions zsh-syntax-highlighting zsh-fast-syntax-highlighting and zsh-autocomplete.md
#include <iostream>
#include <vector>
using namespace std;
int big_average(const vector<int> &vec) {
// we want sum(vec) / vec.size()
int a = vec.size(), quotient = 0, remainder = 0;