#include #include using namespace std; int pan = 0, ans[11][10] = { 0 }, ce[11] = { 0 }; void doit(int n[], int big) { pan++; ce[pan] = big; if (pan == 11) { cout << "NO"; return; } for (int i = 0; i < ce[pan]; i++) { ans[pan][i] += n[i] + n[ce[pan] - i - 1]; ans[pan][i + 1] = ans[pan][i] / 10; ans[pan][i] %= 10; } if (ans[pan][ce[pan]] != 0) { ce[pan]++; } /* for(int i=0;i=0;i--){ cout<