[SOLVED]Inline condition in C

hello,
I have a little question,

in C, normally it is possible to do something like this :

int a=10, b=1;
int res=0;
res = a<b ? a : b;
printf("%d\n",res);
#####################
resultat of this program : 1

whereas when i have typed this in a game in the codingam IDE, it doesn’t work…

I have tryed this in a little program (on my computer), compiled with gcc, and i works !

can you explain to me why it doesn’t works here ?

thanks a lot,

best regards
Bashintoch

What is aprintf?