#include <stdio.h> #include <stdlib.h> void tarefa(int r) { int e; for (e=0; e<r;e++){ } } int main() { int x, j; x = 10; for(j=0; j<=x; j++){ tarefa(j); } return 0; }
Standard input is empty
1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6 7 7 7 7 7 7 7 8 8 8 8 8 8 8 8 9 9 9 9 9 9 9 9 9 10 10 10 10 10 10 10 10 10 10