摘要: foundPos == std::string::npos // 说明没有查找到 // 9'15" #include <bits/stdc++.h> using namespace std; int main() { string s; int cnt = 0, first = 0, potcnt 阅读全文
posted @ 2024-08-16 21:35 Frodnx 阅读(13) 评论(0) 推荐(0)
摘要: // 15'0" #include <bits/stdc++.h> using namespace std; int main() { int arr[6], flag[6]; int total = 0; int m = 0; // max for(int i = 0; i < 6; ++ i) 阅读全文
posted @ 2024-08-16 21:23 Frodnx 阅读(26) 评论(0) 推荐(0)
摘要: // 2'4" #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; long double res = 0; for(int i = 1; i <= n; ++ i) { long double x; 阅读全文
posted @ 2024-08-16 21:02 Frodnx 阅读(15) 评论(0) 推荐(0)
摘要: // 8'30" #include <bits/stdc++.h> using namespace std; int main() { double a, c; int b; cin >> a >> b >> c; double res = (a / c) * (b == 0 ? (double)2 阅读全文
posted @ 2024-08-16 20:59 Frodnx 阅读(30) 评论(0) 推荐(0)
摘要: //43" #include <iostream> int main() { int a, b, c; std::cin >> a >> b >> c; std::cout << a*b*c; return 0; } 阅读全文
posted @ 2024-08-16 01:19 Frodnx 阅读(12) 评论(0) 推荐(0)