摘要: print("Talk is cheap. Show me the code.") 阅读全文
posted @ 2024-08-10 01:02 Frodnx 阅读(17) 评论(0) 推荐(0)
摘要: // 6'00" #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; for(int i = 1; i <= n; ++ i) { int gen, h, w; cin >> gen >> h >> 阅读全文
posted @ 2024-08-10 00:13 Frodnx 阅读(30) 评论(0) 推荐(0)
摘要: // 4'56" #include <bits/stdc++.h> using namespace std; bool func(string s) { int sum1 = 0, sum2 = 0; for(int i = 0; i <= 2; ++ i) sum1 += s[i] - '0'; 阅读全文
posted @ 2024-08-10 00:06 Frodnx 阅读(11) 评论(0) 推荐(0)
摘要: 注意: 是 体重(kg) / (身高(m) 的平方) 不是 (体重(kg) / 身高(m)) 的平方 // 4'56" #include <bits/stdc++.h> using namespace std; int main() { double w, h; cin >> w >> h; dou 阅读全文
posted @ 2024-08-10 00:00 Frodnx 阅读(14) 评论(0) 推荐(0)