fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. float acc = 0;
  5. for (int i = 0; i < 1024*1024; i++) {
  6. acc += 30504.00005f;
  7. }
  8. acc /= (1024*1024);
  9. printf("%f\n", acc);
  10. return 0;
  11. }
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
30687.304688