You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lua.script(R"(
x = 0;
for i = 1, 10000000 do
x = x+i;
end
)");
// sol took 56 ms
// luabridge took 7ms
int x = 0;
for (auto i = 0; i < 10000000; i++)
{
x0 += i;
}
// took 6ms
The text was updated successfully, but these errors were encountered:
The test case is to sum to 10000000.
execution time:
The text was updated successfully, but these errors were encountered: