Skip to content

Commit 2a63a99

Browse files
committed
Adding configuration for
"What’s so complex about Mandelbrot?".
1 parent c95c474 commit 2a63a99

16 files changed

+77
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$c = stream_get_line($stdin, 30 + 1, "\n");
2+
fscanf($stdin, "%d", $m);
3+
4+
// Write an answer using echo(). DON'T FORGET THE TRAILING \n
5+
6+
echo("answer\n");
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"namespace": "Community\\Training\\Easy\\WhatsSoComplexAboutMandelbrot",
3+
"name": "What’s so complex about Mandelbrot?",
4+
"group": "whatsSoComplexAboutMandelbrot",
5+
"link": "https://www.codingame.com/ide/puzzle/whats-so-complex-about-mandelbrot",
6+
"tests": [
7+
{
8+
"name": "Real out",
9+
"group": "realOut",
10+
"method": "RealOut",
11+
"file": "01 - real out.txt"
12+
},
13+
{
14+
"name": "Imaginary out",
15+
"group": "imaginaryOut",
16+
"method": "ImaginaryOut",
17+
"file": "02 - imaginary out.txt"
18+
},
19+
{
20+
"name": "Real in",
21+
"group": "realIn",
22+
"method": "RealIn",
23+
"file": "03 - real in.txt"
24+
},
25+
{
26+
"name": "Imaginary in",
27+
"group": "imaginaryIn",
28+
"method": "ImaginaryIn",
29+
"file": "04 - imaginary in.txt"
30+
},
31+
{
32+
"name": "Complex out",
33+
"group": "complexOut",
34+
"method": "ComplexOut",
35+
"file": "05 - complex out.txt"
36+
},
37+
{
38+
"name": "Complex in",
39+
"group": "complexIn",
40+
"method": "ComplexIn",
41+
"file": "06 - complex in.txt"
42+
},
43+
{
44+
"name": "Check your absolute value",
45+
"group": "checkYourAbsoluteValue",
46+
"method": "CheckYourAbsoluteValue",
47+
"file": "07 - check your absolute value.txt"
48+
}
49+
]
50+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
4.5+0i
2+
10
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0+4.2i
2+
100
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-1.1+0i
2+
45
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0+0.2i
2+
11
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
-0.65812-0.452i
2+
275
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0.15658-0.5745i
2+
822
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0.465+0.354i
2+
50
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1

0 commit comments

Comments
 (0)