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 compiler analyses and optimization implemented onto LLVM. Source language: C C++
Choose your tool: LComp Loopus BBloop RangeAnalysis SRA SIoT ?
Choose the output: Standard output. ? Pass statistics. ? LLVM IR. ?