Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
int *taomang(soluong){
int i = 0;
int *mang = (int *) malloc(soluong * sizeof(int));
for ( ; i < soluong; ++i){
scanf("%d", (mang + i));
#include <stdio.h>
#include <stdlib.h>
int *taomang(soluong){
int i = 0;
int *mang = (int *) malloc(soluong * sizeof(int));
for ( ; i < soluong; ++i){
scanf("%d", (mang + i));
@frzleaf
frzleaf / cvnl.js
Last active July 7, 2019 09:31
Auto cvnl.app
// I'm not a chatvn.me member but like the way they do
function uuidv4() {
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8);
return v.toString(16);
});
}
// Start
let imported = document.createElement('script')
# Basic installation
sudo apt update
sudo apt install build-essential git
sudo apt install tree vim htop nmap
# Install
sudo apt install zsh
sudo usermod -s /bin/zsh $USER
zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"