- 実行ツール
-
学ぶ
Pythonを学ぶ 実行可能な例、NumPy、pandasなど AIを学ぶニューラルネット・機械学習・LLM をゼロから C/C++を学ぶ ポインタ、メモリ、STL、モダンC++ C#を学ぶC# 基礎、OOP、LINQ、async、.NET 演習 Matplotlibを学ぶ折れ線・棒・散布図・円グラフをインタラクティブに Rust を学ぶ所有権、トレイト、エラー処理、スレッド Go を学ぶスライス、インターフェース、goroutine、チャネル Pythonアルゴリズム 探索、ソート、再帰、ビジュアライザー O(n) C/C++アルゴリズム CとC++の実装を比較 子ども向けプログラミング 遊びながらプログラミングを学ぼう!
- 課題一覧NEW
- 教師向けNEW
- アップデート
- コーヒーをおごる
Rust の基礎
最初のプログラムから、変数、型、条件分岐、ループ、文字列、ベクター、関数まで。各トピックの後にチャレンジがあります。
1 はじめの一歩 レッスン 5 件
- レッスン チャレンジ 2 件 Hello World and Program Structure Write your first Rust program and learn what fn main and println! do.
- レッスン チャレンジ 2 件 Variables and Mutability Declare variables with let, allow changes with mut, and use constants and shadowing.
- レッスン チャレンジ 2 件 Data Types Work with integers, floating-point numbers, booleans and characters, and convert between them.
- レッスン チャレンジ 2 件 Operators and Arithmetic Use arithmetic, comparison and logical operators, and see how integer division works.
- レッスン チャレンジ 2 件 Reading User Input Read a line from the keyboard and turn it into a number safely.
2 条件分岐 レッスン 2 件
- レッスン チャレンジ 2 件 Conditions with if and else Choose what runs with if, else if and else, and use if as an expression.
- レッスン チャレンジ 1 件 FizzBuzz Solve the classic FizzBuzz problem with match on a tuple.
3 ループ レッスン 2 件
- レッスン チャレンジ 2 件 Loops: for, while and loop Repeat code with for over a range, while with a condition, and loop with break.
- レッスン チャレンジ 2 件 Prime Numbers Check whether a number is prime and list the primes up to 30.
4 文字列 レッスン 2 件
- レッスン チャレンジ 2 件 Strings: String and &str Create, grow, search and split text with Rust's two string types.
- レッスン チャレンジ 1 件 Reverse a String Reverse the characters of a string and the words of a sentence.
5 コレクション レッスン 3 件
- レッスン チャレンジ 2 件 Tuples and Arrays Group values with tuples and store a fixed number of items in an array.
- レッスン チャレンジ 2 件 Vectors Store a growing list of values in a Vec and read items safely.
- レッスン チャレンジ 2 件 Fibonacci Sequence Generate Fibonacci numbers with a loop and a vector.
6 関数 レッスン 2 件
- レッスン チャレンジ 2 件 Functions and Return Values Define functions with typed parameters and return values.
- レッスン チャレンジ 2 件 Binary Search Find a value in a sorted slice by halving the search range.