fork download
  1. typedef double using;
  2. #define namespace namespace,
  3. #include <stdio.h>
  4. #define cin double*p[]={&namespace 0};scanf("%lf %lf", &std, &namespace std)
  5. #define float int
  6. signed count;
  7. #define return return!printf("%f\0Any\0$$No answer"+3*(!std*(1+2*!!**p)),-**p/std),
  8. //\
  9. #include <iostream>
  10. using namespace std;
  11. int main () {
  12. float a, b, x;
  13. cin>>a>>b;
  14. x = (0 - b)/a;
  15. if (a == 0 && b == 0) count <<'Any';
  16. else if (a == 0) count<<'No answer';
  17. else count<<x;
  18. return 0;
  19. }
Success #stdin #stdout 0s 2172KB
stdin
10 5
stdout
-0.500000