Type your code below: #include #include int main(int argc, char **argv){ int fat, fat2, n, m, i, j; int sum=0; m = atoi(argv[1]); n = atoi(argv[2]); fat = 1; fat2 = 1; for (j = 1; j <= n; j++){ for (i = 1; i <= j; i++) fat = fat * i; for (i = 1; i <= j; i++) fat2 = fat2 * i; sum += fat + fat2; } printf("%d", sum); return 0; }
This page lets you run Range Based Alias Analysis (among others) implemented onto LLVM. Choose your tool: RangedBasedAnalysis BasicAA ScevAA Choose the output: Standard output. ? Pass Times. ? LLVM IR. ?