{"id":"unique-paths","variantId":"unique-paths:cpp","title":"Unique Paths","problemId":"unique-paths","fileName":"unique-paths.cpp","language":"cpp","displayCode":"#include <vector>\n\nclass Solution {\npublic:\n    int uniquePaths(int m, int n) {\n        std::vector<std::vector<int>> dp(m, std::vector<int>(n, 0));\n        for (int c = 0; c < n; c++) {\n            dp[0][c] = 1;\n        }\n        for (int r = 0; r < m; r++) {\n            dp[r][0] = 1;\n        }\n        for (int r = 1; r < m; r++) {\n            for (int c = 1; c < n; c++) {\n                dp[r][c] = dp[r - 1][c] + dp[r][c - 1];\n            }\n        }\n        return dp[m - 1][n - 1];\n    }\n};","runtimeFrames":[{"frameIndex":1,"anchor":{"line":6,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},"events":[{"kind":"snapshot","line":6,"target":{"variable":"dp"},"value":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":6,"function":"uniquePaths"},{"kind":"write","line":6,"target":{"variable":"dp"},"value":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":6,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":6,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":6,"target":{"variable":"dp"},"value":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]}],"accesses":[{"kind":"write","target":{"variable":"dp"},"value":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"sourceValue":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":2,"anchor":{"line":7,"file":"solution.cpp","functionName":"uniquePaths"},"state":{"m":3,"n":7,"dp":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":0},"events":[{"kind":"line","line":7,"function":"uniquePaths"},{"kind":"write","line":7,"target":{"variable":"c"},"value":0},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":0}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":0,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":3,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":0},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,0],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":0}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,0],"indexSources":[null,"c"]},"value":1,"sourceValue":[[0,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,0],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":4,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":1},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":1},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":1,"sourceValue":0,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":5,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":1},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,1],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,1],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,0,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,1],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":6,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":2},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":2},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":2,"sourceValue":1,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":7,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":2},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,2],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,2],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,1,0,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,2],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":8,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":3},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":3,"sourceValue":2,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":9,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":3},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,3],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,3],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,1,1,0,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,3],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":10,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":4},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":4},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":4,"sourceValue":3,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":11,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":4},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,4],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,4],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,1,1,1,0,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,4],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":12,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":5},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":5},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":5,"sourceValue":4,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":13,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":5},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,5],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,5],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,1,1,1,1,0,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,5],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":14,"anchor":{"line":7,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6},"events":[{"kind":"write","line":7,"target":{"variable":"c"},"value":6},{"kind":"snapshot","line":7,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":7,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":7,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":7,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":6,"sourceValue":5,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":15,"anchor":{"line":8,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6},"events":[{"kind":"write","line":8,"target":{"variable":"dp","path":[0,6],"indexSources":[null,"c"]},"value":1},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":8,"function":"uniquePaths"},{"kind":"snapshot","line":8,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":8,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":8,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":8,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,6],"indexSources":[null,"c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,0],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,6],"indexSources":[null,"c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":16,"anchor":{"line":10,"file":"solution.cpp","functionName":"uniquePaths"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6,"r":0},"events":[{"kind":"line","line":10,"function":"uniquePaths"},{"kind":"write","line":10,"target":{"variable":"r"},"value":0},{"kind":"snapshot","line":10,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":10,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":10,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":10,"target":{"variable":"r"},"value":0}],"accesses":[{"kind":"write","target":{"variable":"r"},"value":0,"event":{"target":{"variable":"r"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":17,"anchor":{"line":11,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6,"r":0},"events":[{"kind":"write","line":11,"target":{"variable":"dp","path":[0,0],"indexSources":["r",null]},"value":1},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":11,"function":"uniquePaths"},{"kind":"snapshot","line":11,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":11,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":11,"target":{"variable":"r"},"value":0}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[0,0],"indexSources":["r",null]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,0],"indexSources":["r",null]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":18,"anchor":{"line":10,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6,"r":1},"events":[{"kind":"write","line":10,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":10,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":10,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":10,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":10,"target":{"variable":"r"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"r"},"value":1,"sourceValue":0,"event":{"target":{"variable":"r"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":19,"anchor":{"line":11,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6,"r":1},"events":[{"kind":"write","line":11,"target":{"variable":"dp","path":[1,0],"indexSources":["r",null]},"value":1},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"line","line":11,"function":"uniquePaths"},{"kind":"snapshot","line":11,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":11,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":11,"target":{"variable":"r"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[1,0],"indexSources":["r",null]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[0,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,0],"indexSources":["r",null]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":20,"anchor":{"line":10,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"c":6,"r":2},"events":[{"kind":"write","line":10,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":10,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":10,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":10,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]]},{"kind":"snapshot","line":10,"target":{"variable":"r"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"r"},"value":2,"sourceValue":1,"event":{"target":{"variable":"r"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":21,"anchor":{"line":11,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"c":6,"r":2},"events":[{"kind":"write","line":11,"target":{"variable":"dp","path":[2,0],"indexSources":["r",null]},"value":1},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":11,"function":"uniquePaths"},{"kind":"snapshot","line":11,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":11,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":11,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":11,"target":{"variable":"r"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"dp","path":[2,0],"indexSources":["r",null]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[0,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,0],"indexSources":["r",null]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":22,"anchor":{"line":13,"file":"solution.cpp","functionName":"uniquePaths"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"c":6,"r":1},"events":[{"kind":"line","line":13,"function":"uniquePaths"},{"kind":"write","line":13,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":13,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":13,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":13,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":13,"target":{"variable":"r"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"r"},"value":1,"sourceValue":2,"event":{"target":{"variable":"r"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":23,"anchor":{"line":14,"file":"solution.cpp","functionName":"uniquePaths"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"c":1,"r":1},"events":[{"kind":"line","line":14,"function":"uniquePaths"},{"kind":"write","line":14,"target":{"variable":"c"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":1,"sourceValue":6,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":24,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]],"c":1,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,1],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,0],"indexSources":["r","c - 1"]},"value":1},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,1],"indexSources":["r","c"]},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,1],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,1],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,0],"indexSources":["r","c - 1"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,0],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,1],"indexSources":["r","c"]},"value":2,"sourceValue":[[1,1,1,1,1,1,1],[1,0,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,1],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":25,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]],"c":2,"r":1},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":2,"sourceValue":1,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":26,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]],"c":2,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,2],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,1],"indexSources":["r","c - 1"]},"value":2},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,2],"indexSources":["r","c"]},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,2],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,2],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,1],"indexSources":["r","c - 1"]},"value":2,"sourceValue":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,1],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,2],"indexSources":["r","c"]},"value":3,"sourceValue":[[1,1,1,1,1,1,1],[1,2,0,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,2],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":27,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]],"c":3,"r":1},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":3,"sourceValue":2,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":28,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]],"c":3,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,3],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,2],"indexSources":["r","c - 1"]},"value":3},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,3],"indexSources":["r","c"]},"value":4},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,3],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,3],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,2],"indexSources":["r","c - 1"]},"value":3,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,2],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,3],"indexSources":["r","c"]},"value":4,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,0,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,3],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":29,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]],"c":4,"r":1},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":4},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":4,"sourceValue":3,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":30,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]],"c":4,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,4],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,3],"indexSources":["r","c - 1"]},"value":4},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,4],"indexSources":["r","c"]},"value":5},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,4],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,4],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,3],"indexSources":["r","c - 1"]},"value":4,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,3],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,4],"indexSources":["r","c"]},"value":5,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,0,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,4],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":31,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]],"c":5,"r":1},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":5},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":5,"sourceValue":4,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":32,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]],"c":5,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,5],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,4],"indexSources":["r","c - 1"]},"value":5},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,5],"indexSources":["r","c"]},"value":6},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,5],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,5],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,4],"indexSources":["r","c - 1"]},"value":5,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,4],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,5],"indexSources":["r","c"]},"value":6,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,0,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,5],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":33,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]],"c":6,"r":1},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":6},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":6,"sourceValue":5,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":34,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"c":6,"r":1},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[0,6],"indexSources":["r - 1","c"]},"value":1},{"kind":"read","line":15,"target":{"variable":"dp","path":[1,5],"indexSources":["r","c - 1"]},"value":6},{"kind":"write","line":15,"target":{"variable":"dp","path":[1,6],"indexSources":["r","c"]},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":1},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[0,6],"indexSources":["r - 1","c"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[0,6],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[1,5],"indexSources":["r","c - 1"]},"value":6,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,5],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[1,6],"indexSources":["r","c"]},"value":7,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,0],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,6],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":35,"anchor":{"line":13,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"c":6,"r":2},"events":[{"kind":"write","line":13,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":13,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":13,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":13,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":13,"target":{"variable":"r"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"r"},"value":2,"sourceValue":1,"event":{"target":{"variable":"r"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":36,"anchor":{"line":14,"file":"solution.cpp","functionName":"uniquePaths"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"c":1,"r":2},"events":[{"kind":"line","line":14,"function":"uniquePaths"},{"kind":"write","line":14,"target":{"variable":"c"},"value":1},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":1,"sourceValue":6,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":37,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]],"c":1,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,1],"indexSources":["r - 1","c"]},"value":2},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,0],"indexSources":["r","c - 1"]},"value":1},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,1],"indexSources":["r","c"]},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":1}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,1],"indexSources":["r - 1","c"]},"value":2,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,1],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,0],"indexSources":["r","c - 1"]},"value":1,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,0],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,1],"indexSources":["r","c"]},"value":3,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,0,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,1],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":38,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]],"c":2,"r":2},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":2,"sourceValue":1,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":39,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]],"c":2,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,2],"indexSources":["r - 1","c"]},"value":3},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,1],"indexSources":["r","c - 1"]},"value":3},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,2],"indexSources":["r","c"]},"value":6},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":2}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,2],"indexSources":["r - 1","c"]},"value":3,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,2],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,1],"indexSources":["r","c - 1"]},"value":3,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,1],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,2],"indexSources":["r","c"]},"value":6,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,0,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,2],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":40,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]],"c":3,"r":2},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":3,"sourceValue":2,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":41,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]],"c":3,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,3],"indexSources":["r - 1","c"]},"value":4},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,2],"indexSources":["r","c - 1"]},"value":6},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,3],"indexSources":["r","c"]},"value":10},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":3}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,3],"indexSources":["r - 1","c"]},"value":4,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]],"event":{"target":{"variable":"dp","path":[1,3],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,2],"indexSources":["r","c - 1"]},"value":6,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,2],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,3],"indexSources":["r","c"]},"value":10,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,0,0,0,0]],"event":{"target":{"variable":"dp","path":[2,3],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":42,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]],"c":4,"r":2},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":4},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":4,"sourceValue":3,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":43,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]],"c":4,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,4],"indexSources":["r - 1","c"]},"value":5},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,3],"indexSources":["r","c - 1"]},"value":10},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,4],"indexSources":["r","c"]},"value":15},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":4}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,4],"indexSources":["r - 1","c"]},"value":5,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]],"event":{"target":{"variable":"dp","path":[1,4],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,3],"indexSources":["r","c - 1"]},"value":10,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]],"event":{"target":{"variable":"dp","path":[2,3],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,4],"indexSources":["r","c"]},"value":15,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,0,0,0]],"event":{"target":{"variable":"dp","path":[2,4],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":44,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]],"c":5,"r":2},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":5},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":5,"sourceValue":4,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":45,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]],"c":5,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,5],"indexSources":["r - 1","c"]},"value":6},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,4],"indexSources":["r","c - 1"]},"value":15},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,5],"indexSources":["r","c"]},"value":21},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":5}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,5],"indexSources":["r - 1","c"]},"value":6,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]],"event":{"target":{"variable":"dp","path":[1,5],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,4],"indexSources":["r","c - 1"]},"value":15,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]],"event":{"target":{"variable":"dp","path":[2,4],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,5],"indexSources":["r","c"]},"value":21,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,0,0]],"event":{"target":{"variable":"dp","path":[2,5],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":46,"anchor":{"line":14,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]],"c":6,"r":2},"events":[{"kind":"write","line":14,"target":{"variable":"c"},"value":6},{"kind":"snapshot","line":14,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":14,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":14,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]]},{"kind":"snapshot","line":14,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":14,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"write","target":{"variable":"c"},"value":6,"sourceValue":5,"event":{"target":{"variable":"c"}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":47,"anchor":{"line":15,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]],"c":6,"r":2},"events":[{"kind":"read","line":15,"target":{"variable":"dp","path":[1,6],"indexSources":["r - 1","c"]},"value":7},{"kind":"read","line":15,"target":{"variable":"dp","path":[2,5],"indexSources":["r","c - 1"]},"value":21},{"kind":"write","line":15,"target":{"variable":"dp","path":[2,6],"indexSources":["r","c"]},"value":28},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]]},{"kind":"line","line":15,"function":"uniquePaths"},{"kind":"snapshot","line":15,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":15,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":15,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]]},{"kind":"snapshot","line":15,"target":{"variable":"r"},"value":2},{"kind":"snapshot","line":15,"target":{"variable":"c"},"value":6}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[1,6],"indexSources":["r - 1","c"]},"value":7,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]],"event":{"target":{"variable":"dp","path":[1,6],"indexSources":["r - 1","c"]}}},{"kind":"read","target":{"variable":"dp","path":[2,5],"indexSources":["r","c - 1"]},"value":21,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]],"event":{"target":{"variable":"dp","path":[2,5],"indexSources":["r","c - 1"]}}},{"kind":"write","target":{"variable":"dp","path":[2,6],"indexSources":["r","c"]},"value":28,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,0]],"event":{"target":{"variable":"dp","path":[2,6],"indexSources":["r","c"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]},{"frameIndex":48,"anchor":{"line":18,"file":"solution.cpp"},"state":{"m":3,"n":7,"dp":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]],"c":6,"r":2},"events":[{"kind":"read","line":18,"target":{"variable":"dp","path":[2,6],"indexSources":["m - 1","n - 1"]},"value":28},{"kind":"line","line":18,"function":"uniquePaths"},{"kind":"snapshot","line":18,"target":{"variable":"m"},"value":3},{"kind":"snapshot","line":18,"target":{"variable":"n"},"value":7},{"kind":"snapshot","line":18,"target":{"variable":"dp"},"value":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]]},{"kind":"return","line":18,"function":"uniquePaths","value":28}],"accesses":[{"kind":"read","target":{"variable":"dp","path":[2,6],"indexSources":["m - 1","n - 1"]},"value":28,"sourceValue":[[1,1,1,1,1,1,1],[1,2,3,4,5,6,7],[1,3,6,10,15,21,28]],"event":{"target":{"variable":"dp","path":[2,6],"indexSources":["m - 1","n - 1"]}}}],"callStack":[{"functionName":"uniquePaths","line":5,"args":{"m":3,"n":7}}],"stdout":[]}],"semanticRoute":{"family":"dp","subtype":"indexed-state-transition","semanticLabel":"dp:indexed-state-transition","confidence":0.786,"stage":"emerging","committed":false,"roles":{"stateVariables":["dp"],"stateState":["dp"],"scanState":["c","r"],"resultState":[],"sequenceState":["dp"],"numericState":["dp"],"inputState":["m","n"],"workflowTarget":["__root__"]},"visualTargets":{"complex":[{"kind":"complex","visualizer":"dp","role":"dp-state","state":"dp","displayOrder":{"rank":0,"lane":"primary","source":"semantic-workflow"}}]},"phaseHints":[{"family":"dp","phase":"initialization","label":"Initialize DP state","state":"dp","sourceFact":"gridTableInitialization","confidence":1,"startLine":6,"endLine":6},{"family":"dp","phase":"base-case","label":"Seed DP base case","state":"dp","sourceFact":"topRowSeed","confidence":1,"startLine":8,"endLine":8},{"family":"dp","phase":"base-case","label":"Seed DP base case","state":"dp","sourceFact":"topRowSeed","confidence":1,"startLine":11,"endLine":11},{"family":"dp","phase":"transition","label":"Apply DP recurrence","state":"dp","sourceFact":"topLeftGridRecurrence","confidence":1,"startLine":15,"endLine":15},{"family":"dp","phase":"return","label":"Return DP answer","state":"dp","sourceFact":"bottomRightReturn","confidence":1,"startLine":18,"endLine":18}]},"badgeKeys":["m","n","r","c","i","j"]}
