杭电oj训练赛第四场
Posted 一只特立独行的猫
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了杭电oj训练赛第四场相关的知识,希望对你有一定的参考价值。
第一题:
题目大意就是需要给了t个函数f(x),每个函数f(x)是多个F函数的相加,
判断s(x)是不是收敛的。
思路:
如果s(x)是收敛的,那么每一个f(j)都必须的极限都必须等于0。但是F函数的所有可选项的极限再C不为0时都不为0。所以直接判断所有C是否等于0即可。C++快速处理字符串可以看我这篇博客:
https://editor.csdn.net/md/?articleId=115360326.
第11题:
Sample Input
1
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
..........................##...........##..........#####......########..........##......########....
.......#.......#..........###..........##.........#######.....########.........###......########....
.......#.......#..........###..........##........##....##..........###.........###......##..........
.......#.......#.........####..........##...............##........###.........####......##..........
....###############......####..........##..............##........###..........####......##..........
.......#.......#.........##.#..........##..............##.......###...........####......##..........
.......#.......#.........##.##.........##..............##.......#####........#####......#######.....
.......#.......#.........##.##.........##.............##........######.......##.##......########....
.......#.......#........###.##.........##............###............##......###.##............###...
.......#########........##..##.........##...........###.............##......##..##.............##...
.......#.......#........##...#.........##...........##..............##......##..##.............##...
.......#.......#........##...##........##..........###..............##...Contest1657 - 2019年我能变强组队训练赛第十四场