You are viewing a single comment's thread. Return to all comments →
Using C#, I used the following method to quickly convert a string into int.
public static int ConvertToInt(string s) { int y = 0; foreach (char c in s) { y = y * 10 + (c - '0'); } return y; }
Seems like cookies are disabled on this browser, please enable them to open this website
Dijkstra: Shortest Reach 2
You are viewing a single comment's thread. Return to all comments →
Using C#, I used the following method to quickly convert a string into int.