Проблем с judge
Здравейте!
Като си кача решението и ми изписва compile time error.
Здравейте!
Като си кача решението и ми изписва compile time error.
Я дай кода
Пробвай пак да го изпратиш . Някой път се бъва
На мен също се случвало , просто цъквам Details или View (не знам точно какво е) да видя кода , който съм качил в Judge и там пише какви са проблемите.
Здравейте,
И аз имам същия проблем:
Edit: Реши се като изтрих сейвовете на старите проекти нещо се е било объркало.
Получи се отново не знам къде бъркам:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Inches2Centimeters
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Inches: ");
var Inches = int.Parse(Console.ReadLine());
var centimeters = Inches * 2.54;
Console.Write("Centimeters = ");
Console.WriteLine(centimeters);
}
}
}
Compiled file is missing. Compiler output: C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:1:7: error: expected nested-name-specifier before 'System' using System; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:2:7: error: expected nested-name-specifier before 'System' using System.Collections.Generic; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:3:7: error: expected nested-name-specifier before 'System' using System.Linq; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:4:7: error: expected nested-name-specifier before 'System' using System.Text; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:5:7: error: expected nested-name-specifier before 'System' using System.Threading.Tasks; ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:11:26: error: 'string' has not been declared static void Main(string[] args) ^~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:11:35: error: expected ',' or '...' before 'args' static void Main(string[] args) ^~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:19:5: error: expected ';' after class definition } ^ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp: In static member function 'static void Inches2Centimeters::Program::Main(int*)': C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:13:13: error: 'Console' was not declared in this scope Console.WriteLine("Inches: "); ^~~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:14:13: error: 'var' was not declared in this scope var Inches = int.Parse(Console.ReadLine()); ^~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:15:17: error: expected ';' before 'centimeters' var centimeters = Inches * 2.54; ^~~~~~~~~~~ C:\Windows\TEMP\ExecutionStrategies\gwy53yh1.hq4\tmpE189.tmp.cpp:17:31: error: 'centimeters' was not declared in this scope Console.WriteLine(centimeters); ^~~~~~~~~~~