Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
t
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public static string formatAsCustomString(DateTime date, int number) { return number.ToString() + '-' + date.ToString().Replace("-",""); } } class Solution { public static void Main(string[] args) { TextWriter textWriter = new StreamWriter(@System.Environment.GetEnvironmentVariable("OUTPUT_PATH"), true); DateTime date; date = Convert.ToDateTime(Console.ReadLine()); int number = Convert.ToInt32(Console.ReadLine().Trim()); string result = Result.formatAsCustomString(date, number); textWriter.WriteLine(result); textWriter.Flush(); textWriter.Close(); } } }
run
|
edit
|
history
|
help
0
-Wall -std=c++14 -O0 -o a.out source_file.cpp
triangular matrix
teste
Hack
GYT
Combustible SetUp
Number loop
axasxasd
reversearr
321