标签:class using log bsp logs sub else -- line
///@author Sycamore, ZJNU ///@submitted_on 2017 - 01 - 17 /// #include<iostream> using namespace std; int main() { int T; cin >> T; while (T--) { int N, M, w1 = 0, w2 = 0, t; cin >> N >> M; while (N--) { cin >> t; w1 += t; } while (M--) { cin >> t; w2 += t; } if (w1 > w2)cout << "Calem" << endl; else if (w2 > w1)cout << "Serena" << endl; else cout << "Draw" << endl; } return 0; }
标签:class using log bsp logs sub else -- line
原文地址:http://www.cnblogs.com/zjnu/p/7247987.html