#include <iostream> #include <cmath> using namespace std; int c[1000000]; int main() { int n, m, s1, p1, s2, p2, dragon = 0, tiger = 0, dragon1, tiger1, min, min1; cin >> n; for (int i=1; i<=n; i++) cin>>c[i]; cin >> m >> p1 >> ...