mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
3a7c9f620a
1124-swap-args-test
1148-concat-2-arguments
1153-word-abbreviate
1155-to-camelcase
1164-findmissingnumber
1258-canyoucount
CON-1801-MARKDOWN-Remove-VirtualBox-restriction-from-projects-with-generic-.iso-VM-images
CON-1805-drawing-raid-for-Java-piscine
CON-1836-MARKDOWN-Fix-virtualisation-linux-project
CON-1843-Fix-virtualization-Connect-project
CON-1857-Fix-virtualisation-for-the-remote-project
CON-1929-Wrong-id-in-audit-atm-management-system
CON-1940-update-tests-of-quest-6-RegexReplace-exercise-and-fix-minor-issue-in-the-subject
CON-1994-Update-subjects-with-rand-crate-dependency
CON-2175-Markdown-create-subject-for-Freeze-exercise
CON-2176-Tests-create-test-for-freeze-exercise
CON-2195-Markdown-create-subject-for-jabs-subject
CON-2196-Tests-create-test-for-jabs-subject
CON-2198-MARKDOWN-create-subject-of-more-exercise
CON-2199-TESTS-create-test-of-more-exercise
CON-2209-MARKDOWN-create-subject-for-less-exercise
CON-2210-TESTS-add-test-of-less-exercise
CON-2212-MARKDOWN-add-subject-for-add-exercise
CON-2213-TESTS-add-test-for-add-exercise
CON-2229-MARKDOWN-create-suffix-subject
CON-2232-MARKDOWN-create-wave-subject
CON-2233-TESTS-create-wave-test
CON-2238-MARKDOWN-add-subject-of-sub-exercise
CON-2239-TESTS-add-test-of-sub-exercise
CON-2241-MARKDOWN-create-vowelSign-subject
CON-2242-TESTS-create-vowelSign-tests
CON-2244-MARKDOWN-create-splitStringIntoPairs-Subject
CON-2245-TEST-create-splitStringIntoPairs-tests
CON-2247-MARKDOWN-create-subject-of-sortBydir
CON-2248-TESTS-create-Tests-of-sortBydir
CON-2250-MARKDOWN-create-oneMatch-Subject
CON-2253-MARKDOWN-create-asterisksfirst-subject
CON-2254-MARKDOWN-create-numberOfLetters-subject
CON-2277-add-subject-and-audit-for-play-with-containers-py
CON-2280-add-subject-and-audit-for-orchestrator-py
CON-2565-Markdown-Palindrom-exercise
CON-2932-MARKDOWN-DPxAI-Quest00-Ex01
CON-2945-MARKDOWN-DPxAI-Quest00-Ex01
CON-2946-Markdown-DPxAI-Quest00-Ex01
CON-2946-Markdown-DPxAI-Quest00-call-it
CON-2983-Markdown-Tests-DPxAI-Quest00-Ex04
CON-2985-Ex04-Glance-on-power
CON-3002-Markdown-Quest01-Ex00
CON-3003-Test-Quest00-Ex00
CON-3006-Markdown-Quest01-Ex01
CON-3008-Solution-Quest01-Ex01
CON-3010-Markdown-Quest01-the-smooth-operator
CON-3026-Markdown-DPxAI-Quest01-declare-everything
CON-3030-Markdown-DPxAI-Quest01-Star-Forge
CON-3094-Fix-NascarOnlineAlpha-Project
CON-3095-Markdown-GameDev-NascarOnlineAlpha
CON-3116-Fix-nascar-online-alpha-subject-and-audit
CON-3133-Fixing-Emotions-detector-project
CON-3172-Fix-Subject-Audit-AI-Credit-Scoring
CON-3179-Markdown-structure-subject-ai-sp500
CON-3189-Update-structure-for-piscine
CON-697-Singleton
CON-878-setup-exercise
DEV-3198-new-go-exercise-get-digit-len
DEV-3202-new-go-exercicse-be-zero
DEV-3241-DEV-3242-corewar
DEV-3376-pointers-drop-the-thread-multiple-issues
DEV-3377-new-go-exercise-swap-first
DEV-3378-new-go-exercise-year-quarter
DEV-3409-new-go-exercise-print-if
DEV-3932-lamp-in-the-dark
DEV-3972-prepare-blockchain-branch-subjects
DEV-4049-remove-alcohol-terminology
DEV-4191-DeepInSystem
DEV-4199-make-test-environment-compatible-with-python-exercises
DEV-4397-piscine-ai-missing-file-for-ex-7-of-nlp
DEV-4415-crud-master-api-definition
DEV-4541-Go-go-reloaded-synchronous-project-reveiw
DEV-4741-bug-scripting-piscine-quest-4-division
DEV-4914-Release-User-Experience-Content
MohcineDev-master
content-update
fixDevirged
is-negative
master
revert-2104-CON-1813-MARKDOWN-chaikin-raid-for-java-piscine
revert-2708-CON-3132-remake-the-inspector-image-project
subject-issamestring
update-quest-08-exercises-description-c-150
vo
v24.13.0-2024.06.21
v24.13.2-2024.06.27
v24.14.0-2024.07.04
v24.15.0-2024.07.16
v24.16.0-2024.07.31
v24.17.0-2024.08.13
v24.18.0-2024.08.27
v24.19.0-2024.09.12
v24.20.0-2024.09.25
v24.21.0-2024.10.10
v24.22.0-2024.10.23
${ noResults }
public/subjects/priorprime/README.md
457 B
457 B
priorprime
Instructions
You are given an integer. Your function must return sum of all prime numbers prior to the number exclusively. The number is not included.
Expected function and structure
package main
func PriorPrime(x int) int {
}
Usage
Here is a possible program to test your function:
package main
import "fmt"
func main() {
fmt.Println(PriorPrime(14))
}
Its output:
$ go run .
41
$