06 2020 档案
摘要:———————————————— 难在自定义比较函数那吧,要把关系理清楚,其他还好。 #include#include#inclu...
阅读全文
摘要:———————————————— 注意点 学号(id)用字符串形式存储,如果用int型要用long long但是学号可能有前缀0,...
阅读全文
摘要:——————————————————————————— 这是简单模拟中最难的一道题,我也是想了很久,这题放考场上我肯定是做不出的,...
阅读全文
摘要:难点:卡了很久,输入第一个n后面有个换行符,不读取的话留在缓冲区会被读入第一个字符串,导致4个oj过不了,记住了!!! 思路:字...
阅读全文
摘要:To prepare for PAT, the judge sometimes has to generate random pas...
阅读全文
摘要:Calculate a+b and output the sum in standard format – that is, the...
阅读全文
摘要:思路借鉴柳神 Scientific notation is the way that scientists easily handl...
阅读全文
摘要:1061 Dating (20)(20 分) Sherlock Holmes received a note with some s...
阅读全文
摘要:If you are a fan of Harry Potter, you would know the world of magi...
阅读全文
摘要:People in Mars represent the colors in their computers in a simila...
阅读全文
摘要:Given any string of N (>=5) characters, you are asked to form the ...
阅读全文
摘要:处理很多输入数据的时候可以边输入边处理,没必要读完了 在处理可以简化很多。 建立一个很大的桶像桶排序一样往里放数据这样可能更好解决问...
阅读全文
摘要:009 Product of Polynomials (25 分) This time, you are supposed to f...
阅读全文
摘要:This time, you are supposed to find A+B where A and B are two poly...
阅读全文
摘要:The task is really simple: given N exits on a highway which forms ...
阅读全文
摘要:1009 说反话 (20分) 给定一句英语,要求你编写程序,将句中所有单词的顺序颠倒输出。 输入格式: 测试输入包含一个测试用例,在...
阅读全文
摘要:文章目录 学习大纲一、QT中的绘图事件和基本图形的绘制1.样例展示2.整体思路3.代码部分 二、如何利...
阅读全文
摘要:#include "mainwindow.h"#include "ui_mainwindow.h"#include#include...
阅读全文