本文へ移動
cccskills
無料GitHub で公開

number-theory-toolkit

Provide number theory algorithm implementations and guidance

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.8 KB
  • README.md739 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Number Theory Toolkit Skill

Purpose

Provide implementations and guidance for number theory algorithms commonly used in competitive programming.

Capabilities

  • Modular arithmetic operations
  • Extended Euclidean algorithm
  • Chinese Remainder Theorem
  • Modular inverse and exponentiation
  • FFT/NTT for polynomial multiplication
  • Linear sieve implementations

Target Processes

  • number-theory-algorithms
  • prime-algorithms
  • combinatorics-counting

Algorithm Catalog

Modular Arithmetic

  • Modular exponentiation (binary exp)
  • Modular inverse (Fermat/Extended GCD)
  • Modular square root (Tonelli-Shanks)

GCD and Extensions

  • Euclidean algorithm
  • Extended Euclidean algorithm
  • Linear Diophantine equations

Chinese Remainder Theorem

  • CRT for coprime moduli
  • General CRT

FFT/NTT

  • Fast Fourier Transform
  • Number Theoretic Transform
  • Polynomial multiplication

Input Schema

{
  "type": "object",
  "properties": {
    "algorithm": { "type": "string" },
    "parameters": { "type": "object" },
    "language": {
      "type": "string",
      "enum": ["cpp", "python", "java"]
    },
    "modulo": { "type": "integer" }
  },
  "required": ["algorithm"]
}

Output Schema

{
  "type": "object",
  "properties": {
    "success": { "type": "boolean" },
    "code": { "type": "string" },
    "explanation": { "type": "string" },
    "complexity": { "type": "string" }
  },
  "required": ["success"]
}

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Provide implementations of advanced data structures

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

Fresh adversarial code review with binary PASS/FAIL verdicts, evidence citations, and anchoring bias prevention via fresh reviewer spawning.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

WASM-based instant code transforms for simple tasks, achieving 352x speedup over LLM inference with zero cost.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

Coordinate Crew (persistent) and Polecat (transient) agents using Gas Town's hook-based work distribution and GUPP principle.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

Generate visual representations of algorithm execution

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

Hierarchical coordination and drift detection with frequent checkpoints, shared memory coherence validation, role specialization enforcement, and short task cycles.

日本語の概要は準備中です。原文の説明を表示しています。

a5c-ai/babysitter1,8412026年9月17日 更新

a5c-ai のスキルをすべて見る

このスキルの問題を報告する