Amazing Counters - Free Web Counter Free Hit Counters http://www.amazingcounters.com Welcome to RevolverMaps | RevolverMaps - Free 3D Visitor Maps htt...
分类:
其他好文 时间:
2015-04-18 17:19:10
阅读次数:
113
1. 改进5.1节的Counter类,让它不要在Int.MaxValue是变成负数。class Counter{ private var value = Int.MaxValue def increment() { value = if ( value scalac e5-5.scala G:\sh...
分类:
其他好文 时间:
2015-04-18 08:41:50
阅读次数:
152
第 0004 题:任一个英文的纯文本文件,统计其中的单词出现的个数。思路:用正则表达式匹配响应的单词和数字,然后让Counter计算单词的词频,再用most_common方法返回一个按照词频排序的包含该词语和该词语出现的次数的元组的列表。0004.统计单词.py#!/usr/bin/env python
#coding: utf-8
import re
from collections import...
分类:
编程语言 时间:
2015-04-17 22:17:56
阅读次数:
225
大家好,接下上篇文章继续吧。10,booleaninitResult=controller.initialize();这才是controller初始化的地方booleanresult=true;result=result&&this.topicConfigManager.load();加载topic配置JSON串如下:{"dataVersion":{"counter":4,"timestatmp":1429155762598},..
分类:
其他好文 时间:
2015-04-17 18:40:12
阅读次数:
509
#include #include #include int g_ntotal = 100;int g_thread_counter;int g_sum;//计算结果HANDLE g_thread_lock;//HANDLE 被类型定义为 void *struct THREAD_DATA{ i...
分类:
编程语言 时间:
2015-04-15 23:09:39
阅读次数:
127
Bomb
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)
Total Submission(s): 9295 Accepted Submission(s): 3282
Problem Description
The counter-terrorists f...
分类:
其他好文 时间:
2015-04-15 21:29:09
阅读次数:
172
Description
The counter-terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence of the time bomb counts from 1 to N. If the current numb...
分类:
其他好文 时间:
2015-04-15 09:45:42
阅读次数:
162
题目:BombTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/65536 K (Java/Others)Total Submission(s): 9273 Accepted Submission(s): 3275Problem DescriptionThe counter-terrorists found a ti...
分类:
其他好文 时间:
2015-04-13 20:55:46
阅读次数:
154
所谓的千分位形式,即从个位数起,每三位之间加一个逗号。例如“10,000”。针对这个需求,我起初写了这样一个函数:// 方法一function toThousands(num) {var result = [ ], counter = 0;num = (num || 0).toString().sp...
分类:
Web程序 时间:
2015-04-08 12:32:03
阅读次数:
341
总结一下28027的PWM模块。 28027包含PWM1,PWM2,PWM3,PWM4四个PWM模块,所有的PWM模块的寄存器结构都一样,唯一的区别就是同步时的操作顺序不一样。 PWM模块可以分为时基(Timer base),计数器比较(Counter Compare),PWM波形发生器(Actio...
分类:
其他好文 时间:
2015-04-07 23:15:18
阅读次数:
1618