This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LogPlatformFile: Not using cached read wrapper | |
LogInit: Display: RandInit(419098470) SRandInit(419098470). | |
LogInit: Read version file with build ID 'df4d53ab-a066-43a5-a013-8f268f9c9c2c' | |
LogInit: Registered custom module enumerator with build ID 'df4d53ab-a066-43a5-a013-8f268f9c9c2c' | |
LogTaskGraph: Started task graph with 5 named threads and 14 total threads with 3 sets of task threads. | |
LogStats: Stats thread started at 0.041252 | |
LogPluginManager: Mounting plugin LightPropagationVolume | |
LogPluginManager: Mounting plugin Paper2D | |
LogPluginManager: Mounting plugin XCodeSourceCodeAccess | |
LogPluginManager: Mounting plugin CodeLiteSourceCodeAccess |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string ListSquared(long _m, long _n) { | |
string result = ""; | |
int m=(int)_m, n=(int)_n; | |
for (int i = m; i <= n; i++) { | |
int range = Enumerable.Range(1, i).Where(x => i % x == 0).Sum(x => x * x); | |
double round = Math.Sqrt(range); | |
if (round == Math.Round(round)) { | |
string sum = string.Format("[{0}, {1}]", i.ToString(), range.ToString()); |