PKU 2845. 01000001. AC get -_-!
#include #include #include #include using namespace std; int main() { int carry, cnt, i, j, k; char temp1[256], temp2[256], result[256], temp3[256]; scanf("%d", &cnt); for (i = 0; i strlen(temp1)) { strcpy(temp3, temp2); strcpy(temp2, temp1); strcpy(temp1, temp3); strcpy(temp3, ""); } j = strlen(temp1) - 1; k = strlen(temp..
더보기