Podczas próby kompilacji spoj pokazuje blad : błąd wykonania (NZEC)
Program w VS2015 kompiluje sie poprawnie.
Link do zadania: http://pl.spoj.com/problems/FCTRL3/
To kod programu;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace spoj_silnia
{
class Program
{
public static int silnia(int n)
{
// ...
return 1;
// ...
}
static void Main(string[] args)
{
int testy;
testy = Convert.ToInt32(Console.ReadLine());
for (int i = 0; i < testy; i++)
{
int a, b;
a = Convert.ToInt32(Console.ReadLine());
// ...
}
}
}
}