Skip to content

Instantly share code, notes, and snippets.

package MySort
import (
"testing"
)
func BenchmarkBubbleSort(b *testing.B) {
for i:= 0; i <b.N; i++ {
BubbleSort(a)
}
package MySort
import (
"testing"
)
func BenchmarkBubbleSort(b *testing.B) {
tmp := make([]int, len(a))
for i:= 0; i < b.N; i++ {
package MySort
import (
"testing"
"math/rand"
"time"
)
// コピーのoffset
func BenchmarkBaseCopy(b *testing.B) {
package main
import (
"fmt"
"crypto/md5"
"encoding/hex"
"math"
"math/big"
"strconv"
)
package main
import (
"fmt"
"os"
"bufio"
"log"
"io"
)
@cipepser
cipepser / q11.go
Last active February 4, 2017 00:45
package main
import (
"fmt"
"os"
"bufio"
"log"
)
const (
package main
import (
"os"
"bufio"
"log"
"strconv"
"path/filepath"
)
package main
import (
"os"
"bufio"
"io"
"log"
)
const (
package main
import (
"fmt"
"os"
"bufio"
"io"
"log"
"strconv"
)
package main
import (
"fmt"
"os"
"bufio"
"io"
"log"
"strconv"
)