码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
POJ - 3111 K Best (二分查找)
一、题目概述 K Best Time Limit: 8000MS Memory Limit: 65536K Total Submissions: 12167 Accepted: 3126 Case Time Limit: 2000MS Special Judge Description Demy h ...
分类:其他好文   时间:2018-01-24 21:58:02    阅读次数:190
680. Valid Palindrome II
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. 判断字符串是不是回文,最多可以删除字符串的一个元素来使它成为回文。 解决:从字符 ...
分类:其他好文   时间:2018-01-20 22:45:35    阅读次数:202
ACM study day3
今天练了二分和快速幂,题目挺难的,挑几个我做上的说一下吧。 先给出几个二分和快速幂的模板函数; 二分 快速幂 矩阵乘法加矩阵快速幂取模 A POJ 2456 这道题就是二分,但是二分检验的地方比较有趣,全部贴上来,那个judge函数我想了一阵子。。。(比较笨)。 ...
分类:其他好文   时间:2018-01-19 21:29:51    阅读次数:170
腾讯云ubuntu14.04安装hustoj
官方推荐的就是ubuntu14.04 用这个版本安装可以省去很多麻烦,之前在腾讯云用ubuntu16.04安装最后访问不了,但在本地安装却可以。所以就改ubuntu14.04了。 安装就简单多了,不需要LAMP环境。 运行下面三行命令就行了。 网站默认是放在 /home/judge/src/web ...
分类:系统相关   时间:2018-01-15 17:38:10    阅读次数:233
POJ 3436 ACM Computer Factory
ACM Computer Factory Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 8632 Accepted: 3140 Special Judge Description As you know, all the com ...
分类:其他好文   时间:2018-01-13 12:57:23    阅读次数:150
judge input type
#!/bin/bashwhiletrue;doread-p"pleaseinput:"aexpr$a+1&>/dev/nullif[$?-eq0];thenecho"inputisint."elseecho"inputischar."fiif[$a==‘q‘];thenbreakfidone
分类:其他好文   时间:2018-01-11 11:46:53    阅读次数:188
找出能被两个给定参数和它们之间的连续数字整除的最小公倍数。 范围是两个数字构成的数组,两个数字不一定按数字顺序排序。
function smallestCommons(arr) { arr = arr.sort(); //从小到大排序 var result ; //结果 var judge = false; //判断公倍数 var count = 0; //计数 for(var g=arr[1];g<400000; ...
分类:编程语言   时间:2018-01-05 22:31:48    阅读次数:257
POJ 2230 Watchcow
Watchcow Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 8537 Accepted: 3715 Special Judge Description Bessie's been appointed the new watc ...
分类:其他好文   时间:2017-12-23 17:19:05    阅读次数:202
算法--leetcode 657. Judge Route Circle
题目: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to th ...
分类:编程语言   时间:2017-12-15 18:15:21    阅读次数:185
搜索的应用-分配货物
题目链接: http://judge.u aizu.ac.jp/onlinejudge/description.jsp?id=ALDS1_4_D You are given $n$ packages of $w_i$ kg from a belt conveyor in order ($i=0,1, ...
分类:其他好文   时间:2017-12-13 20:08:56    阅读次数:284
1412条   上一页 1 ... 29 30 31 32 33 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!