Skip to content

Commit

Permalink
updating quizms
Browse files Browse the repository at this point in the history
  • Loading branch information
Harniver committed Mar 27, 2024
1 parent c184ace commit f7a3ad6
Show file tree
Hide file tree
Showing 7 changed files with 632 additions and 449 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@mdx-js/react": "^3.0",
"@olinfo/quizms": "^1.0.0",
"@olinfo/quizms": "^1.0.0-beta.12",
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18",
"autoprefixer": "^10.4.16",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
helpUrl: ""
js:
- |-
((function(i) {
(function(i) {
if (i === undefined) exit(false, "l'argomento del blocco non ha un valore");
if (i < 1 || i > hiddenState.N)
exit(false, "la scatola " + i + " non esiste");
hiddenState.pos = i-1;
return hiddenState.rot[i-1] ? hiddenState.larghezze[i-1] : hiddenState.altezze[i-1];
})(%0))
})(%0)
- ORDER_FUNCTION_CALL

- type: larghezza della scatola
Expand All @@ -42,13 +42,13 @@
helpUrl: ""
js:
- |-
((function(i) {
(function(i) {
if (i === undefined) exit(false, "l'argomento del blocco non ha un valore");
if (i < 1 || i > hiddenState.N)
exit(false, "la scatola " + i + " non esiste");
hiddenState.pos = i-1;
return hiddenState.rot[i-1] ? hiddenState.altezze[i-1] : hiddenState.larghezze[i-1];
})(%0))
})(%0)
- ORDER_FUNCTION_CALL

- type: ruota la scatola
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
helpUrl: ""
js:
- |-
((function(i) {
(function(i) {
if (i === undefined) exit(false, "l'argomento del blocco non ha un valore");
if (i < 1 || i > hiddenState.N)
exit(false, "l'amico " + i + " non esiste");
return hiddenState.prizes[(hiddenState.friends[i-1]-hiddenState.pos+hiddenState.S)%hiddenState.S];
})(%0))
})(%0)
- ORDER_FUNCTION_CALL

- type: N
Expand Down
4 changes: 4 additions & 0 deletions src/fibonacci-primarie/2023-seconda-fase/contest/header.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Giochi di Fibonacci 2023/2024

## Fase II - Scuole primarie

Questa prova contiene _6 domande_ da risolvere in _100 minuti_.
Le domande sono a **scelta multipla** o a **blocchi**, e sono divise in due parti:

Expand Down
4 changes: 4 additions & 0 deletions src/fibonacci-secondarie/2023-seconda-fase/contest/header.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Giochi di Fibonacci 2023/2024

## Fase II - Scuole secondarie

Questa prova contiene _6 domande_ da risolvere in _100 minuti_.
Le domande sono a **scelta multipla** o a **blocchi**, e sono divise in due parti:

Expand Down
4 changes: 2 additions & 2 deletions src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ const links = {
const contests = {
"fibonacci-primarie": {
name: "Giochi di Fibonacci - Scuole primarie",
editions: ["2023 - Seconda fase - Demo", "2023 - Prima fase", "2022 - Prima fase"],
editions: ["2023 - Seconda fase", "2023 - Seconda fase - Demo", "2023 - Prima fase", "2022 - Prima fase"],
},
"fibonacci-secondarie": {
name: "Giochi di Fibonacci - Scuole secondarie",
editions: ["2023 - Seconda fase - Demo", "2023 - Prima fase", "2022 - Prima fase"],
editions: ["2023 - Seconda fase", "2023 - Seconda fase - Demo", "2023 - Prima fase", "2022 - Prima fase"],
},
scolastiche: {
name: "Selezioni scolastiche delle Olimpiadi Italiane di Informatica",
Expand Down
1,055 changes: 615 additions & 440 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit f7a3ad6

Please sign in to comment.