Skip to content

Instantly share code, notes, and snippets.

View c-plus-plus-equals-c-plus-one's full-sized avatar

JanuaryPersimmon2024 c-plus-plus-equals-c-plus-one

  • Terra incognita.
View GitHub Profile
@c-plus-plus-equals-c-plus-one
c-plus-plus-equals-c-plus-one / erik-meijer-books.md
Created May 16, 2026 10:30 — forked from 0xalpharush/erik-meijer-books.md
Erik Meijer’s List of Recommended Books

Erik Meijer’s List of Recommended Books

  1. Logic and Computation: Interactive Proof with Cambridge LCF (Cambridge Tracts in Theoretical Computer Science)
  2. Mathematical Theory of Programme Correctness (Prentice-Hall International series in computer science)
  3. The Haskell School of Expression: Learning Functional Programming through Multimedia
  4. LaTeX: A Document Preparation System (2nd Edition)
  5. Denotational Semantics
  6. Denotational Semantics: The Scott-Strachey Approach to Programming Language Theory
  7. Programs and Machines
  8. The Denotational Description of Programming Languages: An Introduction
@c-plus-plus-equals-c-plus-one
c-plus-plus-equals-c-plus-one / cleaned-main.cpp
Created November 26, 2025 16:58
Longest Valid Parantheses Solution
class Solution {
public:
int longestValidParentheses(string s) {
uint count = 0;
char lp = '(';
char emptyChar = '\0';
char rp = ')';
@c-plus-plus-equals-c-plus-one
c-plus-plus-equals-c-plus-one / ANSWERS.md
Last active November 26, 2025 17:03
RareSkills ZK Homework Exercises 1, 2, 3, 4

Assuming p=71 for all below problems.

  1. Find the elements in a finite field that are congruent to the following values:
    1. -1 ≅ 70 (since -1 mod 71 = 70 and 70-(-1) = 71, 71 % 71 == 0;
    2. -4 ≅ 67. 67 - (-4) = 71;
    3. -160 ≅ 53;
    4. 500 ≅ TBE.