随笔分类 - ACM----STL
C++,Standard Template Library
摘要:题目链接
阅读全文
摘要:懒省事的小明 时间限制:3000 ms | 内存限制:65535 KB 难度:3 懒省事的小明 时间限制:3000 ms | 内存限制:65535 KB 难度:3
阅读全文
摘要:/* Name: NYOJ--95--众数问题 Date: 20/04/17 16:02 Description: multiset水过 */ #include #include using namespace std; multiset st; int main(){ ios::sync_with_stdio(false); int n;cin>>n...
阅读全文
摘要:/* Name: NYOJ--86--找球号(一) Date: 20/04/17 14:45 Description: 理想很美好,现实很残酷,准备用字符串水过,结果TLE了 ╮(╯▽╰)╭ */ #ifdef FAIL #include using namespace std; int main(){ // freopen("in.txt","r",stdi...
阅读全文
摘要:/* Name: NYOJ--19--擅长排列的小明 Date: 20/04/17 11:06 Description: 这道题可以DFS,然而用next_permutation更简单些 主要是全排列,将所有字符串考虑到后,只输出前m个字符 */ #include #include using namespace std; int arr...
阅读全文
摘要:/* Name: NYOJ--714--Card Trick Author: shen_渊 Date: 19/04/17 19:35 Description: 早上训练的第六届河南省程序设计大赛的题,看了数据只有13个,(没毛病,可以打表) 想用链表做,竟然没用过链表 看了别人的队列做的,才知道队列...
阅读全文
摘要:#include #include #include using namespace std; int main() { int N; while(cin>>N && N!=0) { string str; map bal; for(int i=0;i>str; bal[str]++; ...
阅读全文

浙公网安备 33010602011771号