Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <winsock2.h>
#include <ws2tcpip.h>
#include <string>
#include <thread>
#include <vector>
#pragma comment (lib, "Ws2_32.lib")
#define IP_ADDRESS "127.0.0.1"
#include <winsock2.h>
#include <ws2tcpip.h>
#include <iostream>
#include <string>
#include <thread>
using namespace std;
#pragma comment (lib, "Ws2_32.lib")
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package btvn1;
import java.util.Scanner;
/**
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package btvn3;
import javax.swing.JOptionPane;
/**
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package project1;
/**
*
* @author Desktop
#include<iostream>
#include<math.h>
using namespace std;
int main() {
float so_do_do, so_do_radian;
cout << "Nhap so do do: "; cin >> so_do_do;
so_do_radian = so_do_do*M_PI/180;
cout << "So do radian la: " << sp_do_radian;
Cho trước 1 xâu. Viết function(tạm gọi là permAlone) liệt kê số các hoán vị của xâu sao cho không có 2 kí tự giống nhau đứng liền kề.
Ví dụ permAlone('aab') có các hoán vị (aab, aab, aba, aba, baa, baa) nhưng chỉ có 2 hoán vị đúng yêu cầu là (aba và aba).
Dữ liệu mẫu:
permAlone("aab") should return a number.
permAlone("aab") should return 2.
permAlone("aaa") should return 0.
permAlone("aabb") should return 8.
permAlone("abcdefa") should return 3600.
permAlone("abfdefa") should return 2640.
permAlone("zzzzzzzz") should return 0.
@sangpt
sangpt / Sublime Text 3 Build 3103 License Key - CRACK
Created March 21, 2017 14:42
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
<div dir=3D"ltr"><br><div class=3D"gmail_quote">---------- Forwarded messag=
e ----------<br>From: <b class=3D"gmail_sendername">Y=E1=BA=BFn V=C5=A9</b>=
<span dir=3D"ltr">&lt;<a href=3D"mailto:[email protected]">yenbeonl@gmail=
.com</a>&gt;</span><br>Date: 2017-05-28 18:29 GMT+08:00<br>Subject: <br>To:=
<a href=3D"mailto:[email protected]">[email protected]</a><br><br><br><d=
iv dir=3D"ltr">=E2=80=8B<br><div class=3D"gmail_chip gmail_drive_chip" styl=
e=3D"width:396px;height:18px;max-height:18px;background-color:#f5f5f5;paddi=
ng:5px;color:#222;font-family:arial;font-style:normal;font-weight:bold;font=
-size:13px;border:1px solid #ddd;line-height:1"><a href=3D"https://drive.go=
ogle.com/file/d/0B81rOQXsl3nPemU0SzkzTURhY3Z1YzRBTWZ5bGlHYndqNExv/view?usp=