Skip to content
EMPS intranet

Back to top
Hi!   Hi!           Start program

Try stepping through the code


  Value and type of last evaluated expression: Address of array element: Address of array elementx:  (none)

Your browser does not support the canvas element which will make some the features unavailable.

If you are using Internet Explorer within the University of Exeter try going to the Settings menu (probably the gear shape at the top right of this page), selecting "Compatibility View settings", unchecking "Display intranet sites in Compatibility View" and reloading this page.

Code

 Header...
#define NX 8 #define NY 6 void setup (int nx,int ny,char image[NY][NX]);
int floodfill(int x,int y,char image[NY][NX],char area_id,int depth){ » int count; » if (x<0||x>=NX||y<0||y>=NY||image[y]x!='*') { » return 0; } » »if (depth>40) exit(0); » count=1+floodfill(x, y-1, image, area_id, depth+1) +floodfill(x+1, y-1, image, area_id, depth+1) +floodfill(x+1, y, image, area_id, depth+1) +floodfill(x+1, y+1, image, area_id, depth+1) +floodfill(x, y+1, image, area_id, depth+1) +floodfill(x-1, y+1, image, area_id, depth+1) +floodfill(x-1, y, image, area_id, depth+1) +floodfill(x-1, y-1, image, area_id, depth+1); » »image[y]x=area_id; » return count; }
...
#define IMAX 26 int main(){ » int found=0; » char image[NY][NX]; » int ix, iy, nf; » char letters[32]="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; » int sizes[IMAX]; » »setup(NX, NY, image); » » for (iy=0; iy<NY; ++iy) for (ix=0; ix<NX; ++ix) { » nf=floodfill(ix, iy, image, lettersfound, 0); » if (nf) { » sizesfound=nf; » ++found; } } » printf("I found %d islands\n", found); » for (ix=0; ix<found; ++ix) printf("Island %c size %d\n", lettersix, sizesix); » return 0; }
...
Memory

main()

4172
4173
4174
4175
'p' 'u' 's' 'h'
4176
4177
4178
4179
4180
4181
4182
4183
' ' '2' ' ' 'f' 'l' 'o' 'o' 'd'
4184
4185
4186
4187
4188
4189
4190
4191
'f' 'i' 'l' 'l'
?
?
?
?

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 2
y = 1
200
201
202
203
depth = 41

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 3
y = 1
200
201
202
203
depth = 41

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 2
y = -1
200
201
202
203
depth = 41

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 3
y = -1
200
201
202
203
depth = 41

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 1
y = 1
200
201
202
203
depth = 41

floodfill-42()

132
133
134
135
image = 4172
184
185
186
187
188
189
190
191
x = 3
y = 0
200
201
202
203
depth = 41

floodfill-41()

228
229
230
231
image = 4172
280
281
282
283
284
285
286
287
x = 1
y = -1
296
297
298
299
depth = 40

floodfill-41()

228
229
230
231
image = 4172
280
281
282
283
284
285
286
287
x = 2
y = -1
296
297
298
299
depth = 40

floodfill-41()

228
229
230
231
image = 4172
280
281
282
283
284
285
286
287
x = 2
y = 0
296
297
298
299
depth = 40

floodfill-40()

324
325
326
327
image = 4172
376
377
378
379
380
381
382
383
x = 1
y = 0
392
393
394
395
depth = 39

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 3
y = 0
488
489
490
491
depth = 38

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 1
y = 1
488
489
490
491
depth = 38

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 3
y = -1
488
489
490
491
depth = 38

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 2
y = 1
488
489
490
491
depth = 38

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 3
y = 1
488
489
490
491
depth = 38

floodfill-39()

420
421
422
423
image = 4172
472
473
474
475
476
477
478
479
x = 2
y = -1
488
489
490
491
depth = 38

floodfill-38()

516
517
518
519
image = 4172
568
569
570
571
572
573
574
575
x = 1
y = -1
584
585
586
587
depth = 37

floodfill-38()

516
517
518
519
image = 4172
568
569
570
571
572
573
574
575
x = 2
y = -1
584
585
586
587
depth = 37

floodfill-38()

516
517
518
519
image = 4172
568
569
570
571
572
573
574
575
x = 2
y = 0
584
585
586
587
depth = 37

floodfill-37()

612
613
614
615
image = 4172
664
665
666
667
668
669
670
671
x = 1
y = 0
680
681
682
683
depth = 36

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 2
y = -1
776
777
778
779
depth = 35

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 1
y = 1
776
777
778
779
depth = 35

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 3
y = 1
776
777
778
779
depth = 35

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 2
y = 1
776
777
778
779
depth = 35

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 3
y = -1
776
777
778
779
depth = 35

floodfill-36()

708
709
710
711
image = 4172
760
761
762
763
764
765
766
767
x = 3
y = 0
776
777
778
779
depth = 35

floodfill-35()

804
805
806
807
image = 4172
856
857
858
859
860
861
862
863
x = 2
y = 0
872
873
874
875
depth = 34

floodfill-35()

804
805
806
807
image = 4172
856
857
858
859
860
861
862
863
x = 1
y = -1
872
873
874
875
depth = 34

floodfill-35()

804
805
806
807
image = 4172
856
857
858
859
860
861
862
863
x = 2
y = -1
872
873
874
875
depth = 34

floodfill-34()

900
901
902
903
image = 4172
952
953
954
955
956
957
958
959
x = 1
y = 0
968
969
970
971
depth = 33

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 2
y = -1
1064
1065
1066
1067
depth = 32

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 3
y = 0
1064
1065
1066
1067
depth = 32

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 3
y = 1
1064
1065
1066
1067
depth = 32

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 2
y = 1
1064
1065
1066
1067
depth = 32

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 3
y = -1
1064
1065
1066
1067
depth = 32

floodfill-33()

996
997
998
999
image = 4172
1048
1049
1050
1051
1052
1053
1054
1055
x = 1
y = 1
1064
1065
1066
1067
depth = 32

floodfill-32()

1092
1093
1094
1095
image = 4172
1144
1145
1146
1147
1148
1149
1150
1151
x = 1
y = -1
1160
1161
1162
1163
depth = 31

floodfill-32()

1092
1093
1094
1095
image = 4172
1144
1145
1146
1147
1148
1149
1150
1151
x = 2
y = -1
1160
1161
1162
1163
depth = 31

floodfill-32()

1092
1093
1094
1095
image = 4172
1144
1145
1146
1147
1148
1149
1150
1151
x = 2
y = 0
1160
1161
1162
1163
depth = 31

floodfill-31()

1188
1189
1190
1191
image = 4172
1240
1241
1242
1243
1244
1245
1246
1247
x = 1
y = 0
1256
1257
1258
1259
depth = 30

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 1
y = 1
1352
1353
1354
1355
depth = 29

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 3
y = 1
1352
1353
1354
1355
depth = 29

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 3
y = -1
1352
1353
1354
1355
depth = 29

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 3
y = 0
1352
1353
1354
1355
depth = 29

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 2
y = 1
1352
1353
1354
1355
depth = 29

floodfill-30()

1284
1285
1286
1287
image = 4172
1336
1337
1338
1339
1340
1341
1342
1343
x = 2
y = -1
1352
1353
1354
1355
depth = 29

floodfill-29()

1380
1381
1382
1383
image = 4172
1432
1433
1434
1435
1436
1437
1438
1439
x = 2
y = -1
1448
1449
1450
1451
depth = 28

floodfill-29()

1380
1381
1382
1383
image = 4172
1432
1433
1434
1435
1436
1437
1438
1439
x = 1
y = -1
1448
1449
1450
1451
depth = 28

floodfill-29()

1380
1381
1382
1383
image = 4172
1432
1433
1434
1435
1436
1437
1438
1439
x = 2
y = 0
1448
1449
1450
1451
depth = 28

floodfill-28()

1476
1477
1478
1479
image = 4172
1528
1529
1530
1531
1532
1533
1534
1535
x = 1
y = 0
1544
1545
1546
1547
depth = 27

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 1
y = 1
1640
1641
1642
1643
depth = 26

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 3
y = -1
1640
1641
1642
1643
depth = 26

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 2
y = -1
1640
1641
1642
1643
depth = 26

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 3
y = 0
1640
1641
1642
1643
depth = 26

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 2
y = 1
1640
1641
1642
1643
depth = 26

floodfill-27()

1572
1573
1574
1575
image = 4172
1624
1625
1626
1627
1628
1629
1630
1631
x = 3
y = 1
1640
1641
1642
1643
depth = 26

floodfill-26()

1668
1669
1670
1671
image = 4172
1720
1721
1722
1723
1724
1725
1726
1727
x = 2
y = 0
1736
1737
1738
1739
depth = 25

floodfill-26()

1668
1669
1670
1671
image = 4172
1720
1721
1722
1723
1724
1725
1726
1727
x = 1
y = -1
1736
1737
1738
1739
depth = 25

floodfill-26()

1668
1669
1670
1671
image = 4172
1720
1721
1722
1723
1724
1725
1726
1727
x = 2
y = -1
1736
1737
1738
1739
depth = 25

floodfill-25()

1764
1765
1766
1767
image = 4172
1816
1817
1818
1819
1820
1821
1822
1823
x = 1
y = 0
1832
1833
1834
1835
depth = 24

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 3
y = 1
1928
1929
1930
1931
depth = 23

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 2
y = 1
1928
1929
1930
1931
depth = 23

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 3
y = -1
1928
1929
1930
1931
depth = 23

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 3
y = 0
1928
1929
1930
1931
depth = 23

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 1
y = 1
1928
1929
1930
1931
depth = 23

floodfill-24()

1860
1861
1862
1863
image = 4172
1912
1913
1914
1915
1916
1917
1918
1919
x = 2
y = -1
1928
1929
1930
1931
depth = 23

floodfill-23()

1956
1957
1958
1959
image = 4172
2008
2009
2010
2011
2012
2013
2014
2015
x = 2
y = -1
2024
2025
2026
2027
depth = 22

floodfill-23()

1956
1957
1958
1959
image = 4172
2008
2009
2010
2011
2012
2013
2014
2015
x = 2
y = 0
2024
2025
2026
2027
depth = 22

floodfill-23()

1956
1957
1958
1959
image = 4172
2008
2009
2010
2011
2012
2013
2014
2015
x = 1
y = -1
2024
2025
2026
2027
depth = 22

floodfill-22()

2052
2053
2054
2055
image = 4172
2104
2105
2106
2107
2108
2109
2110
2111
x = 1
y = 0
2120
2121
2122
2123
depth = 21

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 1
y = 1
2216
2217
2218
2219
depth = 20

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 3
y = -1
2216
2217
2218
2219
depth = 20

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 3
y = 0
2216
2217
2218
2219
depth = 20

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 3
y = 1
2216
2217
2218
2219
depth = 20

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 2
y = 1
2216
2217
2218
2219
depth = 20

floodfill-21()

2148
2149
2150
2151
image = 4172
2200
2201
2202
2203
2204
2205
2206
2207
x = 2
y = -1
2216
2217
2218
2219
depth = 20

floodfill-20()

2244
2245
2246
2247
image = 4172
2296
2297
2298
2299
2300
2301
2302
2303
x = 2
y = -1
2312
2313
2314
2315
depth = 19

floodfill-20()

2244
2245
2246
2247
image = 4172
2296
2297
2298
2299
2300
2301
2302
2303
x = 2
y = 0
2312
2313
2314
2315
depth = 19

floodfill-20()

2244
2245
2246
2247
image = 4172
2296
2297
2298
2299
2300
2301
2302
2303
x = 1
y = -1
2312
2313
2314
2315
depth = 19

floodfill-19()

2340
2341
2342
2343
image = 4172
2392
2393
2394
2395
2396
2397
2398
2399
x = 1
y = 0
2408
2409
2410
2411
depth = 18

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 2
y = -1
2504
2505
2506
2507
depth = 17

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 3
y = 1
2504
2505
2506
2507
depth = 17

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 1
y = 1
2504
2505
2506
2507
depth = 17

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 3
y = 0
2504
2505
2506
2507
depth = 17

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 2
y = 1
2504
2505
2506
2507
depth = 17

floodfill-18()

2436
2437
2438
2439
image = 4172
2488
2489
2490
2491
2492
2493
2494
2495
x = 3
y = -1
2504
2505
2506
2507
depth = 17

floodfill-17()

2532
2533
2534
2535
image = 4172
2584
2585
2586
2587
2588
2589
2590
2591
x = 2
y = 0
2600
2601
2602
2603
depth = 16

floodfill-17()

2532
2533
2534
2535
image = 4172
2584
2585
2586
2587
2588
2589
2590
2591
x = 1
y = -1
2600
2601
2602
2603
depth = 16

floodfill-17()

2532
2533
2534
2535
image = 4172
2584
2585
2586
2587
2588
2589
2590
2591
x = 2
y = -1
2600
2601
2602
2603
depth = 16

floodfill-16()

2628
2629
2630
2631
image = 4172
2680
2681
2682
2683
2684
2685
2686
2687
x = 1
y = 0
2696
2697
2698
2699
depth = 15

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 3
y = -1
2792
2793
2794
2795
depth = 14

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 2
y = 1
2792
2793
2794
2795
depth = 14

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 1
y = 1
2792
2793
2794
2795
depth = 14

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 2
y = -1
2792
2793
2794
2795
depth = 14

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 3
y = 0
2792
2793
2794
2795
depth = 14

floodfill-15()

2724
2725
2726
2727
image = 4172
2776
2777
2778
2779
2780
2781
2782
2783
x = 3
y = 1
2792
2793
2794
2795
depth = 14

floodfill-14()

2820
2821
2822
2823
image = 4172
2872
2873
2874
2875
2876
2877
2878
2879
x = 1
y = -1
2888
2889
2890
2891
depth = 13

floodfill-14()

2820
2821
2822
2823
image = 4172
2872
2873
2874
2875
2876
2877
2878
2879
x = 2
y = 0
2888
2889
2890
2891
depth = 13

floodfill-14()

2820
2821
2822
2823
image = 4172
2872
2873
2874
2875
2876
2877
2878
2879
x = 2
y = -1
2888
2889
2890
2891
depth = 13

floodfill-13()

2916
2917
2918
2919
image = 4172
2968
2969
2970
2971
2972
2973
2974
2975
x = 1
y = 0
2984
2985
2986
2987
depth = 12

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 3
y = -1
3080
3081
3082
3083
depth = 11

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 2
y = 1
3080
3081
3082
3083
depth = 11

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 3
y = 1
3080
3081
3082
3083
depth = 11

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 2
y = -1
3080
3081
3082
3083
depth = 11

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 1
y = 1
3080
3081
3082
3083
depth = 11

floodfill-12()

3012
3013
3014
3015
image = 4172
3064
3065
3066
3067
3068
3069
3070
3071
x = 3
y = 0
3080
3081
3082
3083
depth = 11

floodfill-11()

3108
3109
3110
3111
image = 4172
3160
3161
3162
3163
3164
3165
3166
3167
x = 2
y = -1
3176
3177
3178
3179
depth = 10

floodfill-11()

3108
3109
3110
3111
image = 4172
3160
3161
3162
3163
3164
3165
3166
3167
x = 1
y = -1
3176
3177
3178
3179
depth = 10

floodfill-11()

3108
3109
3110
3111
image = 4172
3160
3161
3162
3163
3164
3165
3166
3167
x = 2
y = 0
3176
3177
3178
3179
depth = 10

floodfill-10()

3204
3205
3206
3207
image = 4172
3256
3257
3258
3259
3260
3261
3262
3263
x = 1
y = 0
3272
3273
3274
3275
depth = 9

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 3
y = -1
3368
3369
3370
3371
depth = 8

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 2
y = -1
3368
3369
3370
3371
depth = 8

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 3
y = 0
3368
3369
3370
3371
depth = 8

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 3
y = 1
3368
3369
3370
3371
depth = 8

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 1
y = 1
3368
3369
3370
3371
depth = 8

floodfill-9()

3300
3301
3302
3303
image = 4172
3352
3353
3354
3355
3356
3357
3358
3359
x = 2
y = 1
3368
3369
3370
3371
depth = 8

floodfill-8()

3396
3397
3398
3399
image = 4172
3448
3449
3450
3451
3452
3453
3454
3455
x = 2
y = 0
3464
3465
3466
3467
depth = 7

floodfill-8()

3396
3397
3398
3399
image = 4172
3448
3449
3450
3451
3452
3453
3454
3455
x = 2
y = -1
3464
3465
3466
3467
depth = 7

floodfill-8()

3396
3397
3398
3399
image = 4172
3448
3449
3450
3451
3452
3453
3454
3455
x = 1
y = -1
3464
3465
3466
3467
depth = 7

floodfill-7()

3492
3493
3494
3495
image = 4172
3544
3545
3546
3547
3548
3549
3550
3551
x = 1
y = 0
3560
3561
3562
3563
depth = 6

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 2
y = -1
3656
3657
3658
3659
depth = 5

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 3
y = 1
3656
3657
3658
3659
depth = 5

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 3
y = 0
3656
3657
3658
3659
depth = 5

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 2
y = 1
3656
3657
3658
3659
depth = 5

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 1
y = 1
3656
3657
3658
3659
depth = 5

floodfill-6()

3588
3589
3590
3591
image = 4172
3640
3641
3642
3643
3644
3645
3646
3647
x = 3
y = -1
3656
3657
3658
3659
depth = 5

floodfill-5()

3684
3685
3686
3687
image = 4172
3736
3737
3738
3739
3740
3741
3742
3743
x = 2
y = -1
3752
3753
3754
3755
depth = 4

floodfill-5()

3684
3685
3686
3687
image = 4172
3736
3737
3738
3739
3740
3741
3742
3743
x = 1
y = -1
3752
3753
3754
3755
depth = 4

floodfill-5()

3684
3685
3686
3687
image = 4172
3736
3737
3738
3739
3740
3741
3742
3743
x = 2
y = 0
3752
3753
3754
3755
depth = 4

floodfill-4()

3780
3781
3782
3783
image = 4172
3832
3833
3834
3835
3836
3837
3838
3839
x = 1
y = 0
3848
3849
3850
3851
depth = 3

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 2
y = 1
3944
3945
3946
3947
depth = 2

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 3
y = 0
3944
3945
3946
3947
depth = 2

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 3
y = 1
3944
3945
3946
3947
depth = 2

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 1
y = 1
3944
3945
3946
3947
depth = 2

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 3
y = -1
3944
3945
3946
3947
depth = 2

floodfill-3()

3876
3877
3878
3879
image = 4172
3928
3929
3930
3931
3932
3933
3934
3935
x = 2
y = -1
3944
3945
3946
3947
depth = 2

floodfill-2()

3972
3973
3974
3975
image = 4172
4024
4025
4026
4027
4028
4029
4030
4031
x = 2
y = -1
4040
4041
4042
4043
depth = 1

floodfill-2()

3972
3973
3974
3975
image = 4172
4024
4025
4026
4027
4028
4029
4030
4031
x = 2
y = 0
4040
4041
4042
4043
depth = 1

floodfill-2()

3972
3973
3974
3975
image = 4172
4024
4025
4026
4027
4028
4029
4030
4031
x = 1
y = -1
4040
4041
4042
4043
depth = 1

4068
4069
4070
4071
image = 4172
4120
4121
4122
4123
4124
4125
4126
4127
x = 0
y = 0
4136
4137
4138
4139
depth = 0

floodfill()

4068
4069
4070
4071
image = 4172
4120
4121
4122
4123
4124
4125
4126
4127
x = 1
y = 0
4136
4137
4138
4139
depth = 0

NB: the actual memory address of each variable is the
address shown plus 4290188600 (0xFFB71538).

Show Advanced options

.
                                                                                                                                                                                                                                                                       

Validate   Link-check © Copyright & disclaimer Share
Back to top