摘要: #include <bits/stdc++.h> using namespace std; int arr[10][10]; int main() { int n; cin >> n; for(int t = 1; t <= n; ++ t) { for(int j = 1; j <= 9; ++ 阅读全文
posted @ 2024-08-27 18:20 Frodnx 阅读(119) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; #define int long long int func(int n) { int res = 0; while(n >= 10) { int a = n; vector<int> num; while( 阅读全文
posted @ 2024-08-27 17:55 Frodnx 阅读(163) 评论(0) 推荐(0)
摘要: #include <bits/stdc++.h> using namespace std; const int N = 110; double price[N]; int total[N]; int main() { int n; cin >> n; for(int i = 1; i <= n; + 阅读全文
posted @ 2024-08-27 17:41 Frodnx 阅读(156) 评论(0) 推荐(0)
摘要: 思路可能不太对,但是确实是过了 #include <bits/stdc++.h> using namespace std; int main() { int n, m; cin >> n >> m; int sum = 0; int minm = 999999; for(int i = 1; i < 阅读全文
posted @ 2024-08-27 17:26 Frodnx 阅读(115) 评论(0) 推荐(0)