@jpetit/toolkit 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@jpetit/toolkit",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
4
7
  "module": "index.ts",
5
8
  "type": "module",
6
9
  "private": false,
7
10
  "bin": "toolkit/index.ts",
8
- "publishConfig": {
9
- "access": "public"
10
- },
11
11
  "scripts": {
12
12
  "build": "bun run build-assets && bun build toolkit --compile --outfile toolkit.exe",
13
13
  "build-assets": "rm assets.zip && zip assets.zip -r assets",
@@ -1,14 +0,0 @@
1
- # Japanese flag
2
-
3
- ## Features
4
-
5
- - Graphic problem: write an image
6
- - Solutions in multiple programming languages: Python3 and C++
7
- - Use of the `turtle` module
8
- - Use of the `cairo` library
9
- - Award in `.png`
10
- - No input to be read
11
-
12
- ## Abstract
13
-
14
- Draw a Japanese flag.
Binary file
@@ -1,2 +0,0 @@
1
- handler: graphic
2
- solution: Python3
@@ -1,13 +0,0 @@
1
- <h1 id="bandera-del-japó">Bandera del Japó</h1>
2
- <p>Feu un programa que dibuixi la bandera del Japó.</p>
3
- <h2 class="unnumbered" id="entrada">Entrada</h2>
4
- <p>Aquest problema no té entrada.</p>
5
- <h2 class="unnumbered" id="sortida">Sortida</h2>
6
- <p>Cal generar una imatge
7
- <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mo stretchy="false" form="prefix">(</mo><mn>600</mn><mo>,</mo><mn>400</mn><mo stretchy="false" form="postfix">)</mo></mrow><annotation encoding="application/x-tex">(600, 400)</annotation></semantics></math>
8
- de fons ‘<code>White</code>’, i amb un cercle centrat de diàmetre 300 i
9
- color ‘<code>Crimson</code>’.</p>
10
- <h2 class="unnumbered" id="autor">Autor</h2>
11
- <p>Salvador Roura</p>
12
- <h2 class="unnumbered" id="draft">Draft</h2>
13
- <p>Draft generated with <strong>new-jutge-toolkit</strong>.</p>
@@ -1,20 +0,0 @@
1
- # Bandera del Japó
2
-
3
- Feu un programa que dibuixi la bandera del Japó.
4
-
5
- ## Entrada
6
-
7
- Aquest problema no té entrada.
8
-
9
- ## Sortida
10
-
11
- Cal generar una imatge $(600, 400)$ de fons '`White`', i amb un cercle
12
- centrat de diàmetre 300 i color '`Crimson`'.
13
-
14
- ## Autor
15
-
16
- Salvador Roura
17
-
18
- ## Draft
19
-
20
- Draft generated with **new-jutge-toolkit**.
@@ -1,21 +0,0 @@
1
-
2
- \Problem{Bandera del Japó}
3
-
4
- \Statement
5
-
6
- Feu un programa que dibuixi la bandera del Japó.
7
-
8
-
9
- \Input
10
-
11
- Aquest problema no té entrada.
12
-
13
-
14
- \Output
15
-
16
- Cal generar una imatge $(600, 400)$ de fons \q{White},
17
- i amb un cercle centrat de diàmetre 300 i color \q{Crimson}.
18
-
19
-
20
- \SampleTwoCol
21
-
@@ -1,20 +0,0 @@
1
- Bandera del Japó
2
-
3
- Feu un programa que dibuixi la bandera del Japó.
4
-
5
- Entrada
6
-
7
- Aquest problema no té entrada.
8
-
9
- Sortida
10
-
11
- Cal generar una imatge (600, 400) de fons ‘White’, i amb un cercle
12
- centrat de diàmetre 300 i color ‘Crimson’.
13
-
14
- Autor
15
-
16
- Salvador Roura
17
-
18
- Draft
19
-
20
- Draft generated with new-jutge-toolkit.
@@ -1,3 +0,0 @@
1
- email: roura@lsi.upc.edu
2
- title: Bandera del Japó
3
- author: Salvador Roura
@@ -1 +0,0 @@
1
- Aquest problema no te entrada.
@@ -1 +0,0 @@
1
- De debo, aqui l'entrada no importa.
@@ -1,11 +0,0 @@
1
- from PIL import Image, ImageDraw
2
-
3
-
4
- img = Image.new('RGB', (600, 400), 'White')
5
- dib = ImageDraw.Draw(img)
6
-
7
-
8
- dib.ellipse([150, 50, 449, 349], 'Crimson')
9
-
10
-
11
- img.save("output.png")