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
C# simple fib solution
Intuit // C# // listing_4.10 (for..)
Approximate_exp_13112020
List, Object, Classes, Function
john
4
zero comp
Rank
Kopia
swapping