fork download
  1. #include <stdio.h>
  2.  
  3. void main() {
  4. int i,j,x,y,p=0;
  5. scanf("%d%d",&x,&y);
  6. for(i=x;i<=y;x++)
  7. {
  8. if(x%2==0)
  9. {
  10. p++;
  11. }
  12. }
  13. printf("%d",p);
  14. }
Time limit exceeded #stdin #stdout 5s 2156KB
stdin
200 208
stdout
Standard output is empty