摘要: https://ac.nowcoder.com/acm/contest/11212/E #include<bits/stdc++.h> using namespace std; // define a point class to store a point class Point { public 阅读全文
posted @ 2021-06-18 22:11 Acception 阅读(100) 评论(0) 推荐(0)
摘要: string s; cin>>s; if(s.find("123")!=s.npos); npos在 c++中表示一个常数,表示不存在的位置,类型一般是std::container_type::size_type。其值一般为-1. 阅读全文
posted @ 2021-06-18 22:09 Acception 阅读(53) 评论(0) 推荐(0)