Skip to content

Instantly share code, notes, and snippets.

https://www.studocu.com/vn/document/truong-dai-hoc-cong-nghe-dai-hoc-quoc-gia-ha-noi/nhap-mon-lap-trinh/bi-kip-luyen-rong-day-la-sach-gom-cac-bai-tap-don-gian-va-phuc-tap-cho-cac-ban-moi-hoc-lap-trinh/28195926?origin=home-recent-1
@thuycom205
thuycom205 / findsmallest_number.cpp
Created September 23, 2022 08:35
tim số nhỏ nhất gồm digitk chia hết cho p
#include <iostream>
#include<bits/stdc++.h>
#include <algorithm>
using namespace std;
int main() {
string input;
@thuycom205
thuycom205 / tictactoe2.cpp
Last active September 23, 2022 06:45
lần1
#include <iostream>
#include<bits/stdc++.h>
#include <string.h>
using std::string;
using namespace std;
bool win(char board[3][3], string &result) {
for (int i = 0; i < 3; ++ i) {
char thuy = board[i][0];
@thuycom205
thuycom205 / bai1.cpp
Created September 8, 2022 08:23
bai1Gaudua
#include<bits/stdc++.h>
using namespace std;
int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b%a, a);
}
https://www.geeksforgeeks.org/number-ways-array-can-filled-0s-1s-no-consecutive-elements-1/
server {
listen 8081;
listen [::]:8081;
root /mnt/disk/thuy/wpapp;
# Add index.php to the list if you are using PHP
index index.html index.php index.htm index.nginx-debian.html;
server_name wp.local;
add_header X-Frame-Options ALLOWALL;
#odoo server
upstream odoo {
server 127.0.0.1:8069;
}
upstream odoochat {
server 127.0.0.1:8072;
}
# http -> https
server {
[options]
addons_path = /mnt/disks/thuy/odoo14/addons,/mnt/disks/thuy/odoo14/customaddons
#admin_passwd = $pbkdf2-sha512$25000$5tw7x/i/d46R8r6X0hpjDA$VNieVDUElp.zDILT5U7Xniq/KOK8WdQKP0MAbFEYN61RSWWQVz97TKIo5hC1qpAJWB2XCrRsj3XCGANeMAEF7g
csv_internal_sep = ,
data_dir = /mnt/disks/thuy/odoo14/.local11/share/Odoo
db_host = localhost
db_name = odooseed
db_password = ThangBa
db_port = 5432
db_sslmode = prefer
<?php
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the web site, you can copy this file to "wp-config.php"
* and fill in the values.
*
* This file contains the following configurations:
*
#include <iostream>
#include <stdio.h>
#include <stdlib.h>
int main() {
int balance[8] = {8,1,3,5,6,2,7,9};
/**
* xep thanh cac mang tang dan
* [1,23] [4,5]
*/