fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,n;
  5. scanf("%d,&n");
  6. for(i=0;i<5;i++){
  7. printf("%d",n);
  8. n=n+i;
  9.  
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 4312KB
stdin
3
stdout
-2127568496-2127568496-2127568495-2127568493-2127568490