fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a;// your code goes here
  5. a=2;
  6. do
  7. {
  8. a=a*2-1;
  9. }while(a<=10000);
  10. printf("%d",a);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
16385