随笔分类 - Problem Solving
Puzzle
摘要:最近使用dropbox来同步我做的工程,只要workspace是相同的,那么两个eclipse的配置就会自动跟新~很方便
阅读全文
摘要:对于那些不能错误的下载地址会一直错下去------》Help->Install new software->Available Software Site把里面错误的网址给删除了就OK
阅读全文
摘要:#include<stdlib.h>void DivArray(int *pArray,int size){}void main(){int arr[5]={1,2,3,4,5};DivArray(arr,,5);}
阅读全文
摘要:View Code 1 #include <iostream> 2 #include <string> 3 #include <math.h> 4 using namespace std; 5 const double Threshold = 1e-6; 6 const int CardsNumber = 4; 7 const int ResultValue = 24; 8 double number[CardsNumber]; 9 string result[CardsNumber]; 10 bool PointGame(int n) 11 { 12 if
阅读全文
摘要:如果说1,2,2,三个数异或会得到1,这样就可以进行一对的消除,保留出单个的变量。特别好
阅读全文
摘要:#include<iostream.h>#include<windows.h>void main(){ for(;;) { for(int i=0;i<9600000;i++) { ; } Sleep(10); }} 这样可以控制CPU的运转效率 process idle 进行负责剩余的CPU使用率
阅读全文

浙公网安备 33010602011771号