This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function Editor(props) { | |
const { setEditing } = props; | |
return ( | |
<Query query={LAUNCHES}> | |
{({ data, loading, error }) => { | |
if (loading) return <p>Loading...</p>; | |
if (error) return <p>ERROR</p>; | |
return ( | |
<Fragment> | |
<Submit /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"headings": [ | |
"Jun", | |
"Jul", | |
"Aug", | |
"Sep" | |
], | |
"high": 9, | |
"low": 4, | |
"rows": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"label": "A", | |
"cells": { | |
"values": [ | |
84.97, | |
63.49, | |
62.57, | |
61.63, | |
60.7, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Javascript program Miller-Rabin primality test | |
// based on JavaScript code found at https://www.geeksforgeeks.org/primality-test-set-3-miller-rabin/ | |
// Utility function to do | |
// modular exponentiation. | |
// It returns (x^y) % p | |
function power(x, y, p) | |
{ | |
OlderNewer