Benjamin Chen
Followers: 0 Following: 0
Statistiques
RANG
26 618
of 292 815
RÉPUTATION
1
CONTRIBUTIONS
2 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
50.0%
VOTES REÇUS
1
RANG
of 19 942
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
Custom exceptions private methods
I would like to raise a custom error/exception when a user tries to call a private method/constructor. Suppose I have a class: ...
plus de 6 ans il y a | 1 réponse | 0
0
réponseA résolu
The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...
plus de 6 ans il y a
Question
Method chaining unexpected behaviour?
I have noticed some unexpected behaviour with method chaining. Specifically I have a class A from which I want to call the stati...
plus de 6 ans il y a | 2 réponses | 1
2
réponsesA résolu
Pernicious Anniversary Problem
Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...
plus de 6 ans il y a
A résolu
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
plus de 6 ans il y a
A résolu
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
plus de 6 ans il y a
A résolu
How to subtract?
*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...
plus de 6 ans il y a