摘要:
https://www.acwing.com/problem/content/3230/ 利用标记变量。 1 #include<iostream> 2 using namespace std; 3 const int N=1010; 4 int a[N]; 5 int main(void){ 6 i 阅读全文
posted @ 2021-03-26 09:44
greenofyu
阅读(53)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/3235/ 水题。 1 #include<iostream> 2 #include<cmath> 3 using namespace std; 4 int main(void){ 5 int n; 6 cin>>n; 7 阅读全文
posted @ 2021-03-26 09:40
greenofyu
阅读(52)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/3206/ 水题。 1 #include<iostream> 2 using namespace std; 3 bool st[110][110]; 4 int main(void){ 5 int n; 6 cin>>n; 阅读全文
posted @ 2021-03-26 09:39
greenofyu
阅读(61)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/3211/ 直接看成两个三角形(略显复杂) 1 #include<iostream> 2 using namespace std; 3 const int N=500; 4 int a[N][N]; 5 int main( 阅读全文
posted @ 2021-03-26 09:38
greenofyu
阅读(105)
评论(0)
推荐(0)
浙公网安备 33010602011771号