Back
Close

Demo Paper

profThiernesse
1,708 views

Les paper

Les fonctionnalités :

  • init_paper(nb_lignes,nb_colonnes,taille)
  • move_left()
  • move_right()
  • move_down()
  • move_up()
  • colorize()
  • change_color(rouge,vert,bleu)
  • display_paper()

Demo Paper

Sample paper
#include <stdio.h>
#include <stdlib.h>
#include "paper.h"
int main()
{
init_paper(22,17,10);
colorize();
display_paper();
return 0;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Manage with paper
#include <stdio.h>
#include <stdlib.h>
#include "paper.h"
int main()
{
init_paper(20,20,25);
move_to(0,7);
colorize();
move_right();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

#TEST PHP INCLUDE

Déclarer un entier a et un entier b.

PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Ecrire la condition pour déterminer si une variable a est paire.

PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Ecrire la prototype de la fonction ma_fct

	int a;
	int *b;
	char c;
	int d;
	
	d = ma_fct(a,b,c);
PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.
Go to tech.io
codingame x discord
Join the CodinGame community on Discord to chat about puzzle contributions, challenges, streams, blog articles - all that good stuff!
JOIN US ON DISCORD
Online Participants