码迷,mamicode.com
首页 >  
搜索关键字:vitual judge    ( 1412个结果
poj 1141 Brackets Sequence 区间dp,分块记录
Brackets Sequence Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 35049 Accepted: 10139 Special Judge Description Let us define a regular b ...
分类:其他好文   时间:2019-03-25 14:45:57    阅读次数:159
bfs判断子图是否连通
int judge() { int v[13] = { 0 }; queue myq; myq.push(ans[0]); v[ans[0]] = 1; while (!myq.empty()) { int t = myq.front(); myq.pop(); for (int i = 1; i ... ...
分类:其他好文   时间:2019-03-16 18:07:21    阅读次数:162
关于这个博客
这里是 的 。 这儿主要存放本人的知识总结,以及一些有意思的题目。 " " _注:数论其实很有意思的。。。_ " " _注:题目来源于 , , 等Online Judge。_ 不定时更新。 ...
分类:其他好文   时间:2019-03-16 09:55:14    阅读次数:187
Leetcode-997 Find the Town Judge(找到小镇的法官)
作者水平有限,所发仅为个人愚见,如有明显谬误,望斧正 题目可转化为对于所给正整数N(1≤N≤1000),共有N个节点,编号从1-N。其中"相信"这一概念,可看作是一条连接两节点的有向边。如所给二维vector的trust向量数组,trust[i][0]表示有向边的起点,则trust[i][1]表示有 ...
分类:其他好文   时间:2019-02-24 21:41:10    阅读次数:292
680. Valid Palindrome II【Easy】【双指针-可以删除一个字符,判断是否能构成回文字符串】
Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. Example 1: Input: "aba" Output: True Exa ...
分类:其他好文   时间:2019-02-24 18:46:38    阅读次数:178
PAT 甲级 A1006 (2019/02/03)
1 #include 2 #include 3 #include 4 using namespace std; 5 struct TNode{ 6 char id[20]; 7 int hh, mm, ss; 8 }temp, in, out; 9 bool Judge(TNode temp,TNo... ...
分类:其他好文   时间:2019-02-21 23:13:24    阅读次数:220
PAT 甲级 A1019 (2019/02/08)
1 #include 2 bool Judge(int A[], int num){ 3 for(int i = 0; i = 0; i--){ 25 printf("%d", A[i]); 26 if(i != 0) 27 printf(" "); 28 } 29 return 0; 30 } ...
分类:其他好文   时间:2019-02-21 23:12:25    阅读次数:192
[题解列表] GDUT-ACM集训题目
放在Virtual Judge上的专题: [题解][树状数组] POJ 2352 - Stars https://www.cnblogs.com/Kaidora/p/10389073.html [题解] [BFS] POJ 1426 - Find The Multiple https://www.c ...
分类:其他好文   时间:2019-02-17 20:36:29    阅读次数:180
Leetcode-993 Cousins in Binary Tree(二叉树的堂兄弟节点)
1 class Solution 2 { 3 public: 4 bool judge(TreeNode* root, int x, int y) 5 { 6 if(root!=NULL) 7 { 8 9 if(root->left&&root->right... ...
分类:其他好文   时间:2019-02-17 12:54:14    阅读次数:420
POJ1598 ZOJ1315 HDU1606 UVA409 UVALive5493 Excuses, Excuses!【文本】
"Excuses, Excuses!" Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 4701 Accepted: 1602 Description Judge Ito is having a problem with peop ...
分类:其他好文   时间:2019-02-16 09:33:33    阅读次数:114
1412条   上一页 1 ... 11 12 13 14 15 ... 142 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!