Angesthan
Angesthan
全部文章
分类
c++模板(10)
java(11)
python(1)
未归档(1)
练习题(6)
题解(10)
归档
标签
去牛客网
登录
/
注册
Angesthan的博客
全部文章
(共38篇)
字面值
/* 关于字面值: *字面值: -10、100 -3.14 -"abc" -'a' *字面值就是数据(字符串、浮点、整型) *...
2020-02-16
0
312
标识符
package 赵靖通; /* 关于java语言当中的标识符 1.什么是标识符? -在java源程序当中凡是程序员有权力自己命名的单词都是标识符。 -标识符可以标识什么元素? *类名 *方法名 *变量名 ...
2020-02-16
0
358
HellloWorld程序解释
//public表示公开的 //class表示定义一个类 //helloworld表示一个类名 public class HellloWorld {//表示定义一个公开的类,起名helloworld //下面是类体 /* public表示公开的 static...
2020-02-15
0
370
单词方阵
思路:此题显然是搜索,而且自带方向,我们只需从他所要求的单词的第一个字母开始。先找到‘y’,从‘y’向周围8个方向搜索,如果某个方向满足条件,就依这个方向往下搜索,直到把所有的字母找完。 #include <bits/stdc++.h> using namespace std; ch...
2020-02-14
0
493
八皇后
#include <cstdio> #include <cstring> #include <algorithm> #include <vector> #include <math.h> #include <string.h> ...
2020-02-14
0
352
迷宫问题(bfs)
思路:正着一遍bfs,反着输出给定一个 n×n的二维数组,如下所示:int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, };它表示一个迷宫,其中的1表示墙壁,0表示...
2020-02-11
0
514
爬虫基础
一.request基础见https://blog.csdn.net/pittpakk/article/details/81218566request实例:1.京东商品页面爬取 import requests url = "https://item.jd.com/35820996778.ht...
2020-02-10
1
456
protect cheep
Bob is a farmer. He has a large pasture with many sheep. Recently, he has lost some of them due to wolf attacks. He thus decided to place some shepher...
2020-02-07
0
517
Three Friends
Three friends are going to meet each other. Initially, the first friend stays at the positionx=ax=a, the second friend stays at the positionx=bx=band ...
2020-02-07
0
455
Mahmoud and Ehab and the even-odd game
Mahmoud and Ehab play a game called the even-odd game. Ehab chooses his favorite integer n and then they take turns, starting from Mahmoud. In each pl...
2020-02-07
0
432
首页
上一页
1
2
3
4
下一页
末页