fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void) {
  5. // your code goes here
  6. int i,j;
  7. for (i = 0; i < 10; i++) {
  8. srand(i);
  9. for (int j=0; j < 10; j++)
  10. printf("%d ", rand());
  11. printf("\n");
  12. }
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 4524KB
stdin
Standard input is empty
stdout
1804289383 846930886 1681692777 1714636915 1957747793 424238335 719885386 1649760492 596516649 1189641421 
1804289383 846930886 1681692777 1714636915 1957747793 424238335 719885386 1649760492 596516649 1189641421 
1505335290 1738766719 190686788 260874575 747983061 906156498 1502820864 142559277 1261608745 1380759627 
1205554746 483147985 844158168 953350440 612121425 310914940 1210224072 1856883376 1922860801 495649264 
1968078301 287724083 410622274 558519326 460165363 773440537 901520025 1404622363 417397028 665131385 
590011675 99788765 2131925610 171864072 317159276 171035632 602511920 963050649 1069979073 1919854381 
290852541 2066988985 1717401112 865455665 182811308 1730087285 1385463286 531287043 665477002 2111229778 
1045618677 1863967299 1272579899 461085871 21961325 1105564443 2138782586 68574097 1291851600 118852153 
757547896 1695630744 1945246242 94247549 2049268311 533158093 1863977182 1801112021 1980174777 1403165313 
444454915 1502197874 436864165 770686807 1899516530 994794653 1552099820 1351221478 1547895242 1568662052