Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
C:\Documents and Settings\Админ\Рабочий стол\ШЭ информатика
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; namespace Rextester { public class Program { public static void Main(string[] args) { int s =Convert.ToInt32( Console.ReadLine()); int x =Convert.ToInt32(Console.ReadLine()); if(s+x==1) Console.WriteLine("first"); else if((s+x)%4==3||(s+x)%4==0)Console.WriteLine("first"); else Console.WriteLine("second"); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
SpawnController
Project Euler Problem 7
asfdfsafasfsa
Ternary Operator
array with c#
Armstrong
Inheritiance
C# goes Javascriptish (or Pythonish)
Valida Fechas futuras
Boyer Moore String Search
Please log in to post a comment.