Pagini recente » Cod sursa (job #2258608) | Cod sursa (job #1848041)
#include <bits/stdc++.h>
using namespace std;
void main2() {
freopen("adunare.in", "r", stdin);
freopen("adunare.out", "w", stdout);
int a, b;
scanf("%d%d", &a, &b);
printf("%d\n", a+b);
}
int main() {
static long long eord, enew;
const unsigned sz = 1024*1024*1024;
static unsigned char *p = (unsigned char*)malloc(sz);
enew = ((long long)(p+sz-1) & ~0xff);
__asm__ volatile("mov %%esp, %0" : "=r"(eord));
__asm__ volatile("mov %0, %%esp" : : "r"(enew));
main2();
__asm__ volatile("mov %0, %%esp" : : "r"(eord));
return 0;
}