fork download
  1.  
  2. ulong n = 1435, s = 0, mod = 0;
  3. mod = ulong.Parse(Math.Pow(10, 10).ToString());
  4. for (ulong i = 1; i <= n;
  5. {
  6. ulong summand = i;
  7. for (ulong j = 2; j <= i; j++)
  8.  
  9. s += summand;
  10. s = s % mod;
  11. } // your code goes here
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,0): error CS1525: Unexpected symbol `ulong'
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty