Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Ainevsia/Leetcode-Rust
/ main
Function
main
31. Next Permutation/Solution.cpp:38–45 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
};
37
38
int main() {
39
Solution a;
40
string s =
"hello world!"
;
41
reverse(s.begin(), s.end());
42
cout << s;
43
cout << s.substr(0,5);
44
return 0;
45
}
46
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected