You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
stringinputText=awaitclient.GetInputTextAsync();// Retrieves the input text of the AoC puzzlestring[]inputLines=awaitclient.GetInputLinesAsync();// Retrieves the input lines of the AoC puzzle
Get sample input
stringsampleInputText=awaitclient.GetSampleInputTextAsync(intnth);// Retrieves the nth sample input text of the AoC puzzlestring[]sampleInputLines=awaitclient.GetSampleInputLinesAsync(intnth);// Retrieves the nth sample input lines of the AoC puzzle
Get achieved stars
Dictionary<int,int>achievedStars=awaitclient.GetAllStarsAsync();// Retrieves each year's number of stars earned (key: year, value: stars)
Submit answer
Responseresponse=awaitclient.SubmitAnswerAsync(intpart,objectanswer);// Submits an answer to part 1 or 2 of the AoC puzzle. Returns a response type with a success status and a cooldown period