Skip to content

Instantly share code, notes, and snippets.

package com.example.le.myapplication;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.support.design.widget.FloatingActionButton;
import android.support.design.widget.Snackbar;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.Toolbar;
import android.view.View;
<TextView android:text="Hello World!" android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/textView" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="New Button"
android:id="@+id/button"
android:layout_below="@+id/textView"
/*
* Bai 4.14
* Le Quang Thanh - 11020287
*/
#include <iostream>
#include <stdlib.h>
#include <string>
int gcd(int a, int b){
/*
* Bai 4.21
* Le Quang Thanh - 11020287
*/
#include <iostream>
#include <stdlib.h>
#include <string>
template<typename T>
/*
* bai426.cpp
*
* Created on: Nov 9, 2015
* Author: Le Quang Thanh - 11020287
*/
#include <iostream>
using namespace std;
/*
* Bai 4.6
* Le Quang Thanh - 11020287
*/
#include <iostream>
/*
* Bai 4.17: Nhan hai ma tran
* Le Quang Thanh - 11020287
*/
#include <iostream>
using namespace std;
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="valuesType">
<xs:complexType>
<xs:sequence>
<xs:element name="string" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
{
"time":0.0,
"dataset":[
oto1: {
"x":0.0208,
"y":0.0778,
"width":0.0354,
"height":0.2667
},
oto2: {
#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));