fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a,b,c;
  6. for(a=0;a<33;a++)
  7. for(b=0;b<=50;b++)
  8. for(c=0;c<100;c++)
  9. {
  10. if((a+b+c)==100&&(3*a+2*b+0.5*c)==100)
  11. printf("%d%d%d\n");
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
-133430468018744489121872595520
000
000
000
000
000
000