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 the or ...
分类:
其他好文 时间:
2017-10-28 12:38:22
阅读次数:
121
例题(12.3) 忽略大小写的字符串比较 (1016) 1 #include <iostream> 2 using namespace std; 3 4 int main() 5 { 6 char ch1[80],ch2[80];int judge=0;//定义两个符号型数组来输入,设置一个判断数初 ...
分类:
编程语言 时间:
2017-10-27 22:28:34
阅读次数:
219
通过expr判断变量是否为整数 [root@rainjin scripts]# cat judge.sh#!/bin/bash############################################################### File Name: judge.sh# Ve ...
分类:
系统相关 时间:
2017-10-27 22:04:50
阅读次数:
216
The ranklist of PAT is generated from the status list, which shows the scores of the submissions. This time you are supposed to generate the ranklist ...
分类:
其他好文 时间:
2017-10-25 23:37:42
阅读次数:
214
题目链接:http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_A Single Source Shortest Path Input An edge-weighted graph G (V, E) and the source ...
分类:
编程语言 时间:
2017-10-25 00:53:31
阅读次数:
264
题目链接: http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_B Single Source Shortest Path (Negative Edges) Input An edge-weighted graph G (V, ...
分类:
编程语言 时间:
2017-10-25 00:51:33
阅读次数:
328
题目链接:http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=GRL_1_C All Pairs Shortest Path Input An edge-weighted graph G (V, E). |V| is the number ...
分类:
编程语言 时间:
2017-10-25 00:38:34
阅读次数:
369
OJ网站程序员必备 一. Online Judge简介: Online Judge系统(简称OJ)是一个在线的判题系统。用户可以在线提交程序多种程序(如C、C++、Pascal)源代码,系统对源代码进行编译和执行,并通过预先设计的测试数据来检验程序源代码的正确性。 一个用户提交的程序在Online ...
分类:
Web程序 时间:
2017-10-23 14:22:27
阅读次数:
260
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 the or ...
分类:
其他好文 时间:
2017-10-22 23:25:44
阅读次数:
238
To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some confusing passwords ...
分类:
其他好文 时间:
2017-10-22 11:08:21
阅读次数:
143