fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. printf("%.40lf %.40lf %.20lf %.20lf\n",
  6. (0.1+0.1), 0.2, (0.1+0.1+0.1), 0.3);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 4528KB
stdin
Standard input is empty
stdout
0.2000000000000000111022302462515654042363 0.2000000000000000111022302462515654042363 0.30000000000000004441 0.29999999999999998890