fork download
  1. #include <stdio.h>
  2. #include<math.h>
  3. float f(float n){return pow(n,sizeof('-')-1?2:.5);}
  4.  
  5. int main() {
  6. printf("%f:%d", f(5), sizeof('-'));
  7. return 0;
  8. }
Success #stdin #stdout 0s 9432KB
stdin
Standard input is empty
stdout
25.000000:4