”toj“ 的搜索结果

     package Toj2470; import java.util.Scanner; class Robot {  public int x;  public int y;  public int step;  public int faceDire;  public Robot(int x, int y, int step, int faceDire){  this....

     Suppose that we have a square city with straight streets. A map of a city is a square board with n rows and n columns, each representing a street or a piece of wall. A blockhouse is a small cast...

     1036. Rails Time Limit: 1.0 Seconds Memory Limit: 65536K Total Runs: 9718 Accepted Runs: 3028 Multiple test files ...There is a famous railway station in PopPush City....

TOJ 3498.Differences

标签:   toj  水题

     题目链接:http://acm.tju.edu.cn/toj/showp3498.html 3498. Differences Time Limit: 1.0 Seconds Memory Limit: 65536K Total Runs: 860 Accepted Runs: 310 CXB attended an interview an

     http://acm.tju.edu.cn/toj/showp3540.html3540.ConsumerTime Limit:2.0 Seconds Memory Limit:65536KTotal Runs:136 Accepted Runs:67 FJ is going to do some shopping, and before that, he...

toj3860

标签:   toj

     本题略坑,给出的长度可能小于上面给出的进制的个数#include #include #include #include #include #include #include #include #include #include #inclu

     You have a drawer that is full of two kinds of socks: red and black. You know that there are at least 2 socks, and not more than 50000. However, you do not know how many there actually are, nor d...

     描述NCL是一家专门从事计算器改良与升级的实验室,最近该实验室收到了某公司所委托的一个任务:需要在该公司某型号的计算器上加上解一元一次方程的功能。实验室将这个任务交给了一个刚进入的新手ZL先生。...

     4689: Sawtooth Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 26 Accepted:8 Description ...给予一条直线,最多可以将一个无限大平面分为两块,而两条直线,最多可以将平面...

     时间限制(普通/Java):5000MS/15000MS 内存限制:65536KByte 描述 NKU ACM最近要举行足球赛,作为此次赛事的负责人,Lee要对报名人员进行分队。分队要遵循如下原则: 一个人不能加入多支队伍;...

TOJ 3534.Shift Number

标签:   toj  水题

     题目链接:http://acm.tju.edu.cn/toj/showp3534.html 3534. Shift Number Time Limit: 1.0 Seconds Memory Limit: 65536K Total Runs: 293 Accepted Runs: 131 If a number is the ...

TOJ 3496.Summation

标签:   toj  水题

     题目链接:http://acm.tju.edu.cn/toj/showp3496.html 3496. Summation Time Limit: 1.0 Seconds Memory Limit: 65536K Total Runs: 1847 Accepted Runs: 581 CXB join an interview, ...

     TOJ4505: KOSARE Time Limit(Common/Java):10000MS/30000MS Memory Limit:65536KByteTotal Submit: 11 Accepted:3 Description Mirko found N boxes with various forgotten toys at his ...

     在Web设计 中,排版的主题在考虑用户体验的所有方面时都很重要。 每个网站都需要文本,并且可以遵循一些准则来构建格外精美的布局。 网格线,字母,字体高度,文本间距,配色方案和其他类似属性都应考虑在内。...

TOJ 3455.Diamonds

标签:   toj  水题  数论

     题目链接:http://acm.tju.edu.cn/toj/showp3455.html 3455. Diamonds Time Limit: 1.0 Seconds Memory Limit: 65536K Total Runs: 327 Accepted Runs: 140 Multiple test files John...

     5272: 逆矩阵 Time Limit(Common/Java):1000MS/3000MS Memory Limit:65536KByteTotal Submit: 11 Accepted:7 Description ...设A是数域上的一个n阶方阵,若在相同数域上存在另一个n阶矩阵B,使得:AB=BA=E(单位...

TOJ 3474.The Big Dance

标签:   toj  水题  递归

     题目链接:http://acm.tju.edu.cn/toj/showp3474.html 3474. The Big Dance Time Limit: 2.0 Seconds Memory Limit: 65536K Total Runs: 517 Accepted Runs: 343 Multiple test files Bessie

     题目链接 : http://acm.tju.edu.cn/toj/showp1203.html One of the central idea behind much cryptography is that factoring large numbers is computationally intensive. In this context one might use a 100 ...

     5993: 棋盘 分享至QQ空间 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 22 测试通过:9 描述 有一个m×m的棋盘,棋盘上每一个格子可能是红色、黄色或没有任何颜色的。你现在要从棋盘的最左上角走...

     题目链接:http://acm.tju.edu.cn/toj/showp3991.html 题意:给我们每一天学习的值和吃的值,然后给我们必须要到的学习的值,然后问我们到必须要学习到的值的时候最大满足的吃的值。 一开始一看,这个问题有点像是...

     5098: Sweet Butter 描述 Farmer John has discovered the secret to making the sweetest butter in all of Wisconsin: sugar. By placing a sugar cube out in the pastures, he knows the N (1 &...

     排版题.输出三角形的字符 Problem 用英文大写字母排列出一个三角形 Input 一个整数N (0<N<27) Output 一个有N行的,由英文大写字母A..Z排列的三角形 Sample Input 3 Sample Output ... ...

     题目大意 给你一个函数的系数, 让你求在x∈【0,1000】中的某个点的f(x)的最小值 用三分法就能解决了#include #include #include #include ...using namespace std;... return max( a1*e*e+b1*e+c1,

TOJ 2997: City Game

标签:   dp

     2997: City Game 描述 Bob is a strategy game programming specialist. In his new city building game the gaming environment is as follows: a city is built up by areas, in which there are streets, trees...

10  
9  
8  
7  
6  
5  
4  
3  
2  
1