摘要:
#include #include using namespace std; int main() { int n; int h, m, s; int AH, AM, AS, BH, BM, BS; int flag = 0; cin >> n; while (n--) { cin >> AH >> AM >... 阅读全文
摘要:
#include #include using namespace std; int main() { int n; int a[31][31]; for (int i = 1; i > n) { for (int i = 1; i <= n; i++) { for (int j = 1; j < i;... 阅读全文
摘要:
#include #include using namespace std; int main() { int N,R; string a("0123456789ABCDEFG"); while (cin >> N >> R) { string s=""; bool flag = true; if (N 0) ... 阅读全文
摘要:
#include #include using namespace std; bool isPalindromes(string s) { int len = s.size(); int l = 0, r = len - 1; while (l > n) { string s; for (int i = 1; i > s; ... 阅读全文
摘要:
#include using namespace std; int main() { int n, i; int a[100]; while (cin >> n) { int max; cin >> a[0]; max = a[0]; for (i = 1; i> a[i]; ... 阅读全文