
v0.39: Grademe is back in your terminal.
Try the CLI betaReturn the first row of the mesh that carries more load than the row above it.
August 23, 1991. A concrete platform base the size of a city block is being ballasted down into a Norwegian fjord when a wall gives way at 65 metres. It sinks in minutes and hits the bottom hard enough to register as a magnitude 3 earthquake. The finite element model had been too coarse where the cell walls met, so it read the shear there 47 percent lower than the real thing. Nobody was hurt. Find the first row of the mesh where the load climbs instead of easing off.
first_rise({10,10,10,5,5,5,5,9,5}, 3, 3)Expected result
2For your own tracking. Tests grade your code.
first_rise({30,30,30,20,20,20,10,10,10}, 3, 3)Expected result
-1first_rise({1,9,1,2,2,2}, 3, 2)Expected result
1Expected files
mesh.cAllowed functions
None. Write every helper yourself.
