+ 1
Can't use BigInteger
In SoloLearn Playground I can't use BigInteger. When I go to the playground I write in the top using System.Numerics and when I try to use BigInteger I get an error saying 'The type or namespace name 'BigInteger' could not be found...'. Can someone say why this happen and a solution for this. (If no solution an alternative)
5 ответов
+ 2
use long
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/long
https://code.sololearn.com/cWt6CEMnk7ha
Where does you BigInteger come from ?
+ 2
I have the same issue. The ulong type is not enough for my code but Big integer can't be used... or am I missing something here?
+ 1
I'm coding in C# and using System.Numerics, same problem as the TO... It works fine with VS, but not here on SoloLearn...
+ 1
I think that I discovered the best solution that is using decimal. It is even much larger than long or ulong.
0
Which language ?
Where does your BigInt come from ?