CCF-CSP 20160404:游戏_20160404ccf-CSDN博客网友收藏

CCF-CSP 20160404:游戏_20160404ccf-CSDN博客

文章浏览阅读137次。#include<iostream>#include<cstring>#include<queue>using namespace std;#define N 101#define M 101#define T 5000 //10001内存超出,评测范围T为9999,没想明白5000的维度竟然满分了 int map[M][N][T];struct node{ int x,y,time;};struct Pos......
阅读全文
ccf Markdown_ccf之markdown c语言-CSDN博客网友收藏

ccf Markdown_ccf之markdown c语言-CSDN博客

文章浏览阅读402次。说实话,这种题如果给我返回结果我是一定可以写出来的但是ccf不返回结果很烦,这种题我根本不能一次写对。#includeusing namespace std;string s;void emp(int ss,int e);void link(int ss,int e);void out(int ss,int e){ for(int j=ss;j......
阅读全文
CCF-CSP 20200604 1246_20200604ccf-CSDN博客网友收藏

CCF-CSP 20200604 1246_20200604ccf-CSDN博客

文章浏览阅读145次。我就是个猪头肉,把一道动态规划的题暴力求解,28分,随后有时间再优化做~ 呜呜呜import mathimport reif __name__ == '__main__': n = input() string_num = input() n = int(n) cnt = 1 in_str = "2" while(cnt<n): ......
阅读全文