第一题第三题全a代码/*input33 1 1*/#include <bits×dc++.h>using namespace std;typedef long long ll;inline ll read() { char c = getchar(); ll x = 0, f = 1; while(c < '0' || c > '9') {if(c == '-') f = -1; c = getchar();} while(c >= '0' && c <= '9') x = x * 10 + c - '0', c...