For IN/OUT puzzle, you have access to the testcases provided in the XHR:startTestSession
{success: {puzzle: {forumPostId: "temperatures-puzzle-discussion/33", title: "Températures",…},…}}
success:{puzzle: {forumPostId: "temperatures-puzzle-discussion/33", title: "Températures",…},…}
currentQuestion:{question: {,…}, answer: {,…}, lastSubmissionId: 4966397}
answer:{,…}
lastSubmissionId:4966397
question:{,…}
duration:2400
id:30498
index:0
initialId:30498
languages:["Bash", "C", "C#", "C++", "Clojure", "Dart", "F#", "Go", "Groovy", "Haskell", "Java", "Javascript",…]
stubGenerator:"read n:int↵read temps:string(256)↵write result↵↵INPUT↵n:the number of temperatures to analyse↵temps:the n temperatures expressed as integers ranging from -273 to 5526"
testCases:
0:{index: 1, inputBinaryId: 9550255581217, outputBinaryId: 9550268409219, label: "Données simples"}
1:{index: 2, inputBinaryId: 9550291896965, outputBinaryId: 9550304079680,…}
2:{index: 3, inputBinaryId: 9550334298001, outputBinaryId: 9550344075094,…}
3:{index: 4, inputBinaryId: 9550372375663, outputBinaryId: 9550389156049,…}
4:{index: 5, inputBinaryId: 9550412408699, outputBinaryId: 9550424938595, label: "Données complexes"}
5:{index: 6, inputBinaryId: 9550456476867, outputBinaryId: 9550468118956, label: "Pas de température"}
title:"Températures - GE"
type:"MULTIPLE_LANGUAGES"
userId:-2
direct:false
needAccount:true
puzzle:{forumPostId: "temperatures-puzzle-discussion/33", title: "Températures",…}
questions:[{questionId: 30498, title: "Températures - GE", hasResult: true, score: 1}]
shareable:true
Then you have access to the provided data:
https://static.codingame.com/servlet/fileservlet?id=9550255581217
For Multi/Dynamic-puzzle, you will have to create your own referee.
There is no out-of-the-box feature for CodinGame.