Published on 2017-09-02 11:31 in 暂未分类 with qscqesze
上一页 1 2 3 4 5 6 ··· 53 下一页
摘要:C. Tile Painting Ujan has been lazy lately, but now has decided to bring his yard to good shape. First, he decided to paint the path from his house to 阅读全文
posted @ 2019-11-07 16:50 qscqesze 阅读(360) 评论(1) 推荐(3) 编辑
摘要:B2. Character Swap (Hard Version) This problem is different from the easy version. In this version Ujan makes at most 2𝑛 swaps. In addition, 𝑘≤1000, 阅读全文
posted @ 2019-11-07 16:43 qscqesze 阅读(310) 评论(0) 推荐(0) 编辑
摘要:B1. Character Swap (Easy Version) This problem is different from the hard version. In this version Ujan makes exactly one exchange. You can hack this 阅读全文
posted @ 2019-11-07 16:37 qscqesze 阅读(210) 评论(0) 推荐(0) 编辑
摘要:A. Maximum Square Ujan decided to make a new wooden roof for the house. He has 𝑛 rectangular planks numbered from 1 to 𝑛. The 𝑖 th plank has size � 阅读全文
posted @ 2019-11-07 16:33 qscqesze 阅读(162) 评论(0) 推荐(0) 编辑
摘要:F. Equalizing Two Strings You are given two strings s and t both of length n and both consisting of lowercase Latin letters. In one move, you can choo 阅读全文
posted @ 2019-11-05 15:58 qscqesze 阅读(265) 评论(1) 推荐(1) 编辑
摘要:E. Yet Another Division Into Teams There are n students at your university. The programming skill of the i th student is ai. As a coach, you want to d 阅读全文
posted @ 2019-11-05 15:52 qscqesze 阅读(296) 评论(1) 推荐(0) 编辑
摘要:D. Binary String Minimizing You are given a binary string of length n (i. e. a string consisting of n characters '0' and '1'). In one move you can swa 阅读全文
posted @ 2019-11-05 15:49 qscqesze 阅读(120) 评论(0) 推荐(0) 编辑
摘要:C. Platforms Jumping There is a river of width n. The left bank of the river is cell 0 and the right bank is cell n+1 (more formally, the river can be 阅读全文
posted @ 2019-11-05 15:46 qscqesze 阅读(122) 评论(0) 推荐(0) 编辑
摘要:B. Minimize the Permutation You are given a permutation of length n. Recall that the permutation is an array consisting of n distinct integers from 1 阅读全文
posted @ 2019-11-05 15:39 qscqesze 阅读(222) 评论(1) 推荐(1) 编辑
摘要:A. Payment Without Change You have a coins of value n and b coins of value 1. You always pay in exact change, so you want to know if there exist such 阅读全文
posted @ 2019-11-05 15:36 qscqesze 阅读(146) 评论(0) 推荐(0) 编辑
摘要:F. Daniel and Spring Cleaning While doing some spring cleaning, Daniel found an old calculator that he loves so much. However, it seems like it is bro 阅读全文
posted @ 2019-11-04 01:52 qscqesze 阅读(208) 评论(0) 推荐(0) 编辑
摘要:E. Hyakugoku and Ladders Hyakugoku has just retired from being the resident deity of the South Black Snail Temple in order to pursue her dream of beco 阅读全文
posted @ 2019-11-03 17:47 qscqesze 阅读(232) 评论(0) 推荐(0) 编辑
摘要:D. Shichikuji and Power Grid Shichikuji is the new resident deity of the South Black Snail Temple. Her first job is as follows: There are 𝑛 new citie 阅读全文
posted @ 2019-11-03 14:17 qscqesze 阅读(255) 评论(0) 推荐(0) 编辑
摘要:C. Constanze's Machine Constanze is the smartest girl in her village but she has bad eyesight. One day, she was able to invent an incredible machine! 阅读全文
posted @ 2019-11-02 22:20 qscqesze 阅读(192) 评论(0) 推荐(0) 编辑
摘要:F. Tree Factory Bytelandian Tree Factory produces trees for all kinds of industrial applications. You have been tasked with optimizing the production 阅读全文
posted @ 2019-11-02 17:22 qscqesze 阅读(78) 评论(0) 推荐(0) 编辑
摘要:E. Rock Is Push You are at the top left cell (1,1) of an n×m labyrinth. Your goal is to get to the bottom right cell (n,m). You can only move right or 阅读全文
posted @ 2019-11-02 14:03 qscqesze 阅读(97) 评论(0) 推荐(0) 编辑
摘要:B2. TV Subscriptions (Hard Version) The only difference between easy and hard versions is constraints. The BerTV channel every day broadcasts one epis 阅读全文
posted @ 2019-11-02 13:17 qscqesze 阅读(50) 评论(0) 推荐(0) 编辑
摘要:A. Forgetting Things Kolya is very absent minded. Today his math teacher asked him to solve a simple problem with the equation 𝑎+1=𝑏 with positive i 阅读全文
posted @ 2019-11-01 14:36 qscqesze 阅读(100) 评论(0) 推荐(0) 编辑
摘要:D. Power Products You are given n positive integers a1,…,an, and an integer k≥2. Count the number of pairs i,j such that 1≤i using namespace std; cons 阅读全文
posted @ 2019-11-01 00:31 qscqesze 阅读(97) 评论(0) 推荐(0) 编辑
摘要:C. p binary Vasya will fancy any number as long as it is an integer power of two. Petya, on the other hand, is very conservative and only likes a sing 阅读全文
posted @ 2019-11-01 00:04 qscqesze 阅读(74) 评论(0) 推荐(0) 编辑
摘要:F. Bits And Pieces 题面 You are given an array 𝑎 of 𝑛 integers. You need to find the maximum value of 𝑎𝑖|(𝑎𝑗&𝑎𝑘) over all triplets (𝑖,𝑗,𝑘) su 阅读全文
posted @ 2019-09-03 14:56 qscqesze 阅读(161) 评论(0) 推荐(0) 编辑
摘要:G. Polygons Description You are given two integers 𝑛 and 𝑘. You need to construct 𝑘 regular polygons having same circumcircle, with distinct number 阅读全文
posted @ 2019-09-02 00:20 qscqesze 阅读(161) 评论(0) 推荐(0) 编辑
摘要:B. Tokitsukaze and Mahjong time limit per test1 second memory limit per test256 megabytes Tokitsukaze is playing a game derivated from Japanese mahjon 阅读全文
posted @ 2019-07-29 01:29 qscqesze 阅读(182) 评论(0) 推荐(0) 编辑
摘要:D2. RGB Substring (hard version) inputstandard input outputstandard output The only difference between easy and hard versions is the size of the input 阅读全文
posted @ 2019-07-27 16:21 qscqesze 阅读(209) 评论(0) 推荐(0) 编辑
摘要:D. Yet Another Subarray Problem You are given an array $a_1, a_2, \dots , a_n$ and two integers $m$ and $k$. You can choose some subarray $a_l, a_{l+1 阅读全文
posted @ 2019-07-27 15:30 qscqesze 阅读(177) 评论(0) 推荐(0) 编辑
摘要:C. Array Splitting You are given a sorted array 𝑎1,𝑎2,…,𝑎𝑛 (for each index 𝑖 1 condition 𝑎𝑖≥𝑎𝑖−1 holds) and an integer 𝑘. You are asked to d 阅读全文
posted @ 2019-07-27 14:50 qscqesze 阅读(111) 评论(0) 推荐(0) 编辑
摘要:机器学习算法讲堂(一) 十分钟入门机器学习算法竞赛 比赛地址:https://www.kaggle.com/c/new york city taxi fare prediction import pandas as pd import numpy as np http://pandas.pydata 阅读全文
posted @ 2018-09-01 15:35 qscqesze 阅读(1040) 评论(0) 推荐(0) 编辑
摘要:相关下载地址: 链接: https://pan.baidu.com/s/1LqFWMoLzaKkuahwnZNIsZg 密码: 3ybi 阅读全文
posted @ 2018-07-22 11:20 qscqesze 阅读(545) 评论(1) 推荐(1) 编辑
摘要:最近的任务是写一个多线程的东西,就得接触多线程队列了,我反正是没学过分布式的,代码全凭感觉写出来的,不过运气好,代码能够work= = 话不多说,直接给代码吧,一个多消费者,多生产者的模式。假设我的任务是求队列的中位数是啥,每消费10000次的时候,我要知道中位数是什么。 至于加不加锁,这个看你了, 阅读全文
posted @ 2018-01-21 11:41 qscqesze 阅读(4800) 评论(0) 推荐(1) 编辑
摘要:https://vjudge.net/contest/202940 overview 不断更新 阅读全文
posted @ 2017-12-05 14:31 qscqesze 阅读(712) 评论(0) 推荐(0) 编辑
摘要:中午醒来后就滚去公司读了几篇论文,读的头脑不清醒。然后听说最近有一个动漫电影上线了,就一拍即合,和吴队长一起去看了。 看之前和吴队长都不知道这个电影是什么,就知道是个日本动漫,不过看到广告语说:“去年看了你的名字,今年你就得去看烟花”,在我的心里面,我就觉得这个电影应该就和你的名字应该是一个地位了吧 阅读全文
posted @ 2017-12-02 23:20 qscqesze 阅读(2200) 评论(1) 推荐(4) 编辑
摘要:提交代码被leader批判了一波。。。。 好好学习,天天向上。 http://zh google styleguide.readthedocs.io/en/latest/google cpp styleguide/contents/ 阅读全文
posted @ 2017-11-29 19:33 qscqesze 阅读(591) 评论(0) 推荐(0) 编辑
摘要:tip:老师语速超快。。。痛苦= = 线性分类器损失函数与最优化 $Multiclass SVM loss: L_{i} = \sum_{j \neq y_{i}} max(0,s_{i} s_{y_{i}}+1)$ $Loss = \frac{1}{N} \sum_{i=1}^{N} L_{i}$ 阅读全文
posted @ 2017-11-22 23:47 qscqesze 阅读(484) 评论(0) 推荐(1) 编辑
摘要:第一节课大部分都是废话。第二节课的前面也都是废话。 First classifier: Nearest Neighbor Classifier 在一定时间,我记住了输入的所有的图片。在再次输入一个图片之后,我和之前的图片进行比较,然后输出分类。 近邻分类器用50000张32 32 10labels的 阅读全文
posted @ 2017-11-21 23:39 qscqesze 阅读(440) 评论(0) 推荐(0) 编辑
摘要:BC都被hack的人生,痛苦。 下面是题解的表演时间: A. QAQ "QAQ" is a word to denote an expression of crying. Imagine "Q" as eyes with tears and "A" as a mouth. Now Diamond h 阅读全文
posted @ 2017-11-20 20:35 qscqesze 阅读(911) 评论(0) 推荐(0) 编辑
摘要:渣排版预警! 出发点 新闻用户为什么会点: 主观:用户兴趣/热点事件 客观:新闻标题(新闻入口)/新闻内容(更简单,更有趣) 标题分类: surprise,好奇,负例,数字,你,客观的描述,问题的形式 。。。。 我们这个目标就是建立问题的形式。 ABtest: question形式点击基本为15%, 阅读全文
posted @ 2017-11-16 15:10 qscqesze 阅读(236) 评论(0) 推荐(1) 编辑
摘要:渣排版预警,纯草稿。。。 唐平中。研究方向是经济学和ai方向,机制设计和拍卖设计。 内容:广告优化的方法论,自动优化。 【内容】 Basics on mechanism design and resrve pricing Reinforcement mechanism design: 1.Reser 阅读全文
posted @ 2017-11-07 12:09 qscqesze 阅读(1161) 评论(1) 推荐(0) 编辑
摘要:D. Magic Breeding link http://codeforces.com/contest/878/problem/D description Nikita and Sasha play a computer game where you have to breed some magi 阅读全文
posted @ 2017-10-31 21:21 qscqesze 阅读(624) 评论(0) 推荐(1) 编辑
摘要:C. Tournament link http://codeforces.com/contest/878/problem/C description Recently a tournament in k kinds of sports has begun in Berland. Vasya want 阅读全文
posted @ 2017-10-31 17:05 qscqesze 阅读(396) 评论(0) 推荐(0) 编辑
摘要:B. Teams Formation link http://codeforces.com/contest/878/problem/B describe This time the Berland Team Olympiad in Informatics is held in a remote ci 阅读全文
posted @ 2017-10-30 21:50 qscqesze 阅读(260) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 53 下一页