#include <cstdio> using namespace std; #define MAX_SIZE 1000002 int arr[MAX_SIZE]; int n; int main() { scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%d", arr + i); } printf("0\n"); printf("2\n"); printf("1 2"); return 0; }
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | #include <cstdio> using namespace std; #define MAX_SIZE 1000002 int arr[MAX_SIZE]; int n; int main() { scanf("%d", &n); for (int i = 0; i < n; i++) { scanf("%d", arr + i); } printf("0\n"); printf("2\n"); printf("1 2"); return 0; } |