摘要:
非常好的一道理解LCS本质的题目 class Solution { public: string longestCommonSubsequence(const string str1, const string str2) { int m = str1.length(); int n = str2. 阅读全文
摘要:
这期的题目整体比较简单,相比之前的都简单 第一题-塔子哥送粉丝周边 简单排序 #include<bits/stdc++.h> using namespace std; #define int long long const int N = 2e5+100; struct str{ int num; 阅读全文
摘要:
第一题-塔子哥的质数和合数 #include<bits/stdc++.h> using namespace std; #define int long long const int N = 2e5+100; int n,arr[N]; signed main(){ cin>>n; set<int> 阅读全文
摘要:
SQL-Boy上线,最近在写SQL语句遇到了这样的问题。 Problem:Every derived table must have its own alias 错误语句如下 delete from Person where id not in ( select id from ( select m 阅读全文
摘要:
#include<bits/stdc++.h> using namespace std; #define int long long const int N=666; int arr[N][N]; int sum[N][N]; signed main(){ int n; while(cin>>n){ 阅读全文