01. Numbers Ending in 7
Защо judge ми дава 0 точки за този код, а visual ми дава верни резултати?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Ending_in_7
{
class Program
{
static void Main(string[] args)
{
int count = int.Parse(Console.ReadLine());
for (int i = 0; i <= count; i++)
{
if (i%10 == 7)
{ Console.WriteLine(i); }
}
}
}
}