手刃小鯞
不愧是名师, GCC藏了20多年的错误都被你发现了
为了点点踩中, 气死销轴, 我特地写了份代码
#include <bits/stdc++.h>
#include <stdio.h>
#define cin std::cin
#define cout std::cout
#define printf(a, b, c) fprintf(c, a, b)
#define __int64 long long
int main(void)
{
freopen("CON", "r", stdin);
__int64 a, b, c;
cin >> a;
scanf("%I64d", &b);
c = a + b;
struct A
{
void a(__int64 b)
{
char c[114514];
char *d = c;
while (b / 10.0)
(*d) = '0' + b % 10, d = d + 1, b = b / 10;
(*d) = '\0';
char e = 0;
for (; c[e] != '\0'; e++)
;
for (unsigned char f = 0; f != e >> 1; ++f)
c[f] ^= c[e - f - 1] ^= c[f] ^= c[e - f - 1];
FILE *g;
g = fopen("CON", "w");
printf("%c", *c, g);
fclose(g);
cout << (c + 1);
}
};
struct A d;
d.a(c);
return 0;
}
温馨提示-只能本地跑哦, 锣鼓上会因为玄学指针和文操RE的, 如果有能跑璎珞股的, 请私信我