We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f7160a commit cb279cdCopy full SHA for cb279cd
nth-prime.json
@@ -0,0 +1,34 @@
1
+{
2
+ "#": [
3
+ "The tests that expect 'false' should be implemented to raise",
4
+ "an error, or indicate a failure. Implement this in a way that",
5
+ "makes sense for your language."
6
+ ],
7
+ "cases": [
8
+ {
9
+ "description": "first",
10
+ "input": 1,
11
+ "expected": 2
12
+ },
13
14
+ "description": "second",
15
+ "input": 2,
16
+ "expected": 3
17
18
19
+ "description": "sixth prime",
20
+ "input": 6,
21
+ "expected": 13
22
23
24
+ "description": "big prime",
25
+ "input": 10001,
26
+ "expected": 104743
27
28
29
+ "description": "weird case",
30
+ "input": 0,
31
+ "expected": false
32
+ }
33
+ ]
34
+}
0 commit comments