<!DOCTYPE html> <html> <body> <title>统计字符串中某个字符的个数</title> <script> var countryList=["one","two","three","four","five","six"]; var count=0; document.w ...
分类:
其他好文 时间:
2019-01-18 21:22:56
阅读次数:
203
three是图形引擎,而web二维三维地图都是基于图形引擎的,所以拿three来开发需求简单的三维地图应用是没什么问题的。 1.坐标转换 实际地理坐标为经度、纬度、高度,而three.js使用的是右手坐标系x、y、z,本来考虑的是将经纬度坐标转换成墨卡托,再去和three的坐标系对应。而实际项目中, ...
分类:
Web程序 时间:
2019-01-18 20:13:18
阅读次数:
289
创建场景在第一章的地方就讲过怎么样创建一个最基本的场景,这里不重复了html:部分 <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <script src="https://cdn.bootcss.com/three.js/9 ...
分类:
其他好文 时间:
2019-01-18 20:12:42
阅读次数:
381
题目: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - ...
分类:
其他好文 时间:
2019-01-18 18:35:24
阅读次数:
233
首先,引入js文件: 然后,实例化: 最后,循环渲染: 1 ...
分类:
Web程序 时间:
2019-01-17 12:47:56
阅读次数:
564
题意翻译 题目大意: nnn个位置,每个位置有两个属性s,cs,cs,c,要求选择3个位置i,j,ki,j,ki,j,k,使得si<sj<sks_i<s_j<s_ksi?<sj?<sk?,并使得ci+cj+ckc_i+c_j+c_kci?+cj?+ck?最小 输入格式: 一行一个整数,nnn,3<= ...
分类:
其他好文 时间:
2019-01-15 19:05:02
阅读次数:
435
You are given qq queries in the following form: Given three integers lili, riri and didi, find minimum positive integer xixi such that it is divisible ...
分类:
其他好文 时间:
2019-01-12 14:17:46
阅读次数:
221
执行结果如下: {1: ('one', 'two', 'three'), 2: ('one', 'two', 'three'), 3: ('one', 'two', 'three')}{1: ('one', 'two', 'three'), 2: ('one', 'two', 'three'), 3 ...
分类:
其他好文 时间:
2019-01-11 13:09:10
阅读次数:
221
Given three integers A, B and C in [ 2^63, 2^63], you are supposed to tell whether A+B C. Input Specification: The first line of the input gives the p ...
分类:
其他好文 时间:
2019-01-10 18:50:50
阅读次数:
115