Swift 軌道管理

這個頁面提供 Exercism 社群管理 Swift 軌道所需的資訊與工具。

學生
29,066
提交
474,385
引導討論
3,479

Swift 軌道 需要關注 ⚠️

建置中

Swift 課程大綱

了解更多

協助建立軌道的課程大綱:課程大綱是一組概念與學習練習的集合,用來教授這門程式語言的基礎要素。

下一個目標:建立一份完整的課程大綱,至少包含 40 個概念。 了解更多。
35 個正在教授的概念
Ba
Basics
6,769 人已學習
Bo
Booleans
3,326 人已學習
Nu
Numbers
3,755 人已學習
Ch
Characters and Strings
3,145 人已學習
Es
Escaping functions
2,185 人已學習
Hi
Higher Order Functions
2,185 人已學習
Co
Conditionals
2,423 人已學習
Te
Ternary operator
2,423 人已學習
Ar
Arrays
1,878 人已學習
Ra
Ranges
467 人已學習
fo
for loops
415 人已學習
Tu
Tuples
1,569 人已學習
Op
Optionals
1,310 人已學習
Co
Conditionals Switch
889 人已學習
Co
Control transfer
889 人已學習
Wh
While and repeat loops
889 人已學習
Ca
Capturing
703 人已學習
Cl
Closures
703 人已學習
Sh
Shorthand arguments
703 人已學習
Tr
Trailing closures
703 人已學習
Di
Dictionaries
863 人已學習
Im
Importing
849 人已學習
St
String Indexing
849 人已學習
St
String Methods
849 人已學習
De
Default Parameters
1,087 人已學習
Fu
Function Overloading
1,087 人已學習
In
Inout Parameters
1,087 人已學習
Mu
Multiple Return Values
1,087 人已學習
Ne
Nested Functions
1,087 人已學習
Va
Variadic Parameters
1,087 人已學習
Me
Methods
699 人已學習
Se
Self
699 人已學習
St
Structs And Classes
699 人已學習
Va
Value and reference types
699 人已學習
En
Enumerations
616 人已學習
18 個啟用中的學習練習
已開始
嘗試次數
完成次數
引導請求
Layers of Lasagna Layers of Lasagna
9,836
53,496(平均 5.4)
6,769 (68.8%)
100 (1.0%)
Wings Quest Wings Quest
3,845
16,575(平均 4.3)
3,326 (86.5%)
43 (1.1%)
Freelancer Rates Freelancer Rates
4,846
56,884(平均 11.7)
3,755 (77.5%)
56 (1.2%)
Cal's Custom Sign Shop Cal's Custom Sign Shop
3,605
30,770(平均 8.5)
3,145 (87.2%)
20 (0.6%)
Secret Agent Double-Null0111 Secret Agent Double-Null0111
2,724
12,415(平均 4.6)
2,185 (80.2%)
25 (0.9%)
Vexing Vehicle Purchase Vexing Vehicle Purchase
2,965
29,192(平均 9.8)
2,423 (81.7%)
38 (1.3%)
Magician-in-Training Magician-in-Training
2,146
26,247(平均 12.2)
1,878 (87.5%)
31 (1.4%)
ChessBoard ChessBoard
515
2,887(平均 5.6)
467 (90.7%)
2 (0.4%)
Bird Watcher Bird Watcher
461
2,226(平均 4.8)
415 (90.0%)
5 (1.1%)
Santa's Swifty Helper Santa's Swifty Helper
1,654
7,077(平均 4.3)
1,569 (94.9%)
10 (0.6%)
Slice Sizing Slice Sizing
1,484
19,211(平均 12.9)
1,310 (88.3%)
34 (2.3%)
Expert Mixologist Expert Mixologist
1,062
13,498(平均 12.7)
889 (83.7%)
18 (1.7%)
Double-Null0111: Closures Are Forever Double-Null0111: Closures Are Forever
819
5,770(平均 7.0)
703 (85.8%)
8 (1.0%)
High Score Board High Score Board
944
6,223(平均 6.6)
863 (91.4%)
7 (0.7%)
The 1st Rule of Poetry Club The 1st Rule of Poetry Club
958
9,642(平均 10.1)
849 (88.6%)
10 (1.0%)
Lasagna Master Lasagna Master
1,185
10,417(平均 8.8)
1,087 (91.7%)
20 (1.7%)
Windowing System Windowing System
825
9,294(平均 11.3)
699 (84.7%)
13 (1.6%)
Log Lines Log Lines
667
2,642(平均 4.0)
616 (92.4%)
2 (0.3%)

練習題

了解更多

練習題是為了讓學生解決任意問題而設計的練習,目標是讓他們運用目前為止學到的概念。

已同步的主要儲存庫: a0e8e9ef7453d4010e123c6af8e1fb296eafad43 (更新應該是即時的)

下一個目標:實作 139 個練習題。 瞭解更多。
98 個啟用中的練習題
已開始
嘗試次數
完成次數
引導請求
Hello World Hello World
21,400
45,476(平均 2.1)
15,481 (72.3%)
16 (0.1%)
Difference of Squares Difference of Squares
2,559
9,455(平均 3.7)
1,688 (66.0%)
230 (9.0%)
Gigasecond Gigasecond
2,194
4,108(平均 1.9)
1,503 (68.5%)
277 (12.6%)
Leap Leap
3,114
7,098(平均 2.3)
2,607 (83.7%)
585 (18.8%)
RNA Transcription RNA Transcription
1,455
3,713(平均 2.6)
1,203 (82.7%)
157 (10.8%)
Space Age Space Age
1,163
2,750(平均 2.4)
964 (82.9%)
95 (8.2%)
Sum of Multiples Sum of Multiples
1,239
3,695(平均 3.0)
1,011 (81.6%)
123 (9.9%)
Two Fer Two Fer
2,496
4,518(平均 1.8)
1,982 (79.4%)
921 (36.9%)
Reverse String Reverse String
397
1,234(平均 3.1)
327 (82.4%)
4 (1.0%)
Resistor Color Resistor Color
114
526(平均 4.6)
93 (81.6%)
2 (1.8%)
Darts Darts
184
622(平均 3.4)
143 (77.7%)
4 (2.2%)
Bob Bob
1,078
4,180(平均 3.9)
889 (82.5%)
87 (8.1%)
ETL ETL
850
1,639(平均 1.9)
739 (86.9%)
19 (2.2%)
Armstrong Numbers Armstrong Numbers
147
723(平均 4.9)
126 (85.7%)
3 (2.0%)
Grade School Grade School
825
2,810(平均 3.4)
654 (79.3%)
27 (3.3%)
Grains Grains
801
2,922(平均 3.6)
670 (83.6%)
61 (7.6%)
Hamming Hamming
969
2,321(平均 2.4)
884 (91.2%)
76 (7.8%)
Isogram Isogram
700
1,701(平均 2.4)
593 (84.7%)
17 (2.4%)
List Ops List Ops
726
5,425(平均 7.5)
511 (70.4%)
15 (2.1%)
Nucleotide Count Nucleotide Count
1,114
2,558(平均 2.3)
843 (75.7%)
64 (5.7%)
Raindrops Raindrops
843
1,750(平均 2.1)
723 (85.8%)
32 (3.8%)
Resistor Color Duo Resistor Color Duo
72
196(平均 2.7)
56 (77.8%)
4 (5.6%)
High Scores High Scores
75
215(平均 2.9)
60 (80.0%)
0 (0.0%)
D&D Character D&D Character
38
93(平均 2.4)
29 (76.3%)
0 (0.0%)
Square Root Square Root
35
72(平均 2.1)
28 (80.0%)
0 (0.0%)
Binary Search Binary Search
450
1,247(平均 2.8)
337 (74.9%)
3 (0.7%)
Circular Buffer Circular Buffer
342
1,655(平均 4.8)
243 (71.1%)
3 (0.9%)
Clock Clock
542
1,783(平均 3.3)
417 (76.9%)
12 (2.2%)
Collatz Conjecture Collatz Conjecture
359
927(平均 2.6)
304 (84.7%)
4 (1.1%)
Diamond Diamond
317
938(平均 3.0)
232 (73.2%)
1 (0.3%)
Flatten Array Flatten Array
379
1,153(平均 3.0)
295 (77.8%)
7 (1.8%)
ISBN Verifier ISBN Verifier
318
1,081(平均 3.4)
244 (76.7%)
6 (1.9%)
Kindergarten Garden Kindergarten Garden
378
922(平均 2.4)
308 (81.5%)
5 (1.3%)
Perfect Numbers Perfect Numbers
387
1,225(平均 3.2)
329 (85.0%)
7 (1.8%)
Phone Number Phone Number
531
1,966(平均 3.7)
442 (83.2%)
10 (1.9%)
Protein Translation Protein Translation
302
1,140(平均 3.8)
230 (76.2%)
5 (1.7%)
Proverb Proverb
255
785(平均 3.1)
202 (79.2%)
5 (2.0%)
Queen Attack Queen Attack
363
901(平均 2.5)
302 (83.2%)
7 (1.9%)
Robot Name Robot Name
517
1,081(平均 2.1)
414 (80.1%)
7 (1.4%)
Robot Simulator Robot Simulator
357
894(平均 2.5)
279 (78.2%)
10 (2.8%)
Scrabble Score Scrabble Score
493
1,243(平均 2.5)
424 (86.0%)
6 (1.2%)
Secret Handshake Secret Handshake
292
525(平均 1.8)
237 (81.2%)
1 (0.3%)
Sieve Sieve
345
797(平均 2.3)
288 (83.5%)
2 (0.6%)
Strain Strain
351
523(平均 1.5)
287 (81.8%)
2 (0.6%)
Sublist Sublist
296
877(平均 3.0)
221 (74.7%)
4 (1.4%)
Triangle Triangle
520
1,426(平均 2.7)
435 (83.7%)
6 (1.2%)
Bottle Song Bottle Song
119
670(平均 5.6)
72 (60.5%)
2 (1.7%)
Resistor Color Trio Resistor Color Trio
50
132(平均 2.6)
38 (76.0%)
1 (2.0%)
Yacht Yacht
24
80(平均 3.3)
17 (70.8%)
0 (0.0%)
Acronym Acronym
413
1,498(平均 3.6)
270 (65.4%)
8 (1.9%)
All Your Base All Your Base
280
931(平均 3.3)
182 (65.0%)
3 (1.1%)
Allergies Allergies
417
1,087(平均 2.6)
307 (73.6%)
9 (2.2%)
Anagram Anagram
446
1,227(平均 2.8)
376 (84.3%)
13 (2.9%)
House House
200
523(平均 2.6)
143 (71.5%)
1 (0.5%)
Largest Series Product Largest Series Product
218
738(平均 3.4)
163 (74.8%)
6 (2.8%)
Matrix Matrix
262
499(平均 1.9)
191 (72.9%)
0 (0.0%)
Meetup Meetup
232
533(平均 2.3)
147 (63.4%)
2 (0.9%)
Pangram Pangram
237
521(平均 2.2)
183 (77.2%)
4 (1.7%)
Pascal's Triangle Pascal's Triangle
204
384(平均 1.9)
146 (71.6%)
1 (0.5%)
Prime Factors Prime Factors
207
387(平均 1.9)
160 (77.3%)
3 (1.4%)
Pythagorean Triplet Pythagorean Triplet
199
617(平均 3.1)
141 (70.9%)
3 (1.5%)
Rotational Cipher Rotational Cipher
153
443(平均 2.9)
112 (73.2%)
2 (1.3%)
Saddle Points Saddle Points
162
520(平均 3.2)
118 (72.8%)
2 (1.2%)
Say Say
125
398(平均 3.2)
79 (63.2%)
1 (0.8%)
Series Series
231
568(平均 2.5)
172 (74.5%)
1 (0.4%)
Simple Linked List Simple Linked List
236
716(平均 3.0)
161 (68.2%)
0 (0.0%)
Twelve Days Twelve Days
243
446(平均 1.8)
181 (74.5%)
1 (0.4%)
Word Count Word Count
552
988(平均 1.8)
438 (79.3%)
13 (2.4%)
Atbash Cipher Atbash Cipher
136
500(平均 3.7)
106 (77.9%)
1 (0.7%)
Binary Search Tree Binary Search Tree
194
802(平均 4.1)
135 (69.6%)
3 (1.5%)
Crypto Square Crypto Square
131
497(平均 3.8)
94 (71.8%)
0 (0.0%)
Custom Set Custom Set
162
447(平均 2.8)
101 (62.3%)
4 (2.5%)
Food Chain Food Chain
108
233(平均 2.2)
73 (67.6%)
0 (0.0%)
Knapsack Knapsack
45
165(平均 3.7)
29 (64.4%)
0 (0.0%)
Linked List Linked List
176
468(平均 2.7)
120 (68.2%)
6 (3.4%)
Luhn Luhn
157
569(平均 3.6)
116 (73.9%)
5 (3.2%)
OCR Numbers OCR Numbers
117
278(平均 2.4)
74 (63.2%)
2 (1.7%)
Roman Numerals Roman Numerals
180
464(平均 2.6)
130 (72.2%)
3 (1.7%)
Run-Length Encoding Run-Length Encoding
134
372(平均 2.8)
95 (70.9%)
1 (0.7%)
Simple Cipher Simple Cipher
119
308(平均 2.6)
78 (65.5%)
0 (0.0%)
Rail Fence Cipher Rail Fence Cipher
22
40(平均 1.8)
17 (77.3%)
0 (0.0%)
Spiral Matrix Spiral Matrix
22
37(平均 1.7)
18 (81.8%)
0 (0.0%)
Word Search Word Search
23
156(平均 6.8)
17 (73.9%)
0 (0.0%)
Conway's Game of Life Conway's Game of Life
20
34(平均 1.7)
14 (70.0%)
0 (0.0%)
Affine Cipher Affine Cipher
16
19(平均 1.2)
11 (68.8%)
0 (0.0%)
Bowling Bowling
129
389(平均 3.0)
71 (55.0%)
0 (0.0%)
Complex Numbers Complex Numbers
106
289(平均 2.7)
66 (62.3%)
1 (0.9%)
Nth Prime Nth Prime
150
412(平均 2.7)
106 (70.7%)
1 (0.7%)
Palindrome Products Palindrome Products
117
556(平均 4.8)
78 (66.7%)
0 (0.0%)
Pig Latin Pig Latin
119
319(平均 2.7)
75 (63.0%)
2 (1.7%)
Tournament Tournament
116
436(平均 3.8)
83 (71.6%)
2 (1.7%)
Transpose Transpose
109
388(平均 3.6)
69 (63.3%)
0 (0.0%)
Matching Brackets Matching Brackets
149
359(平均 2.4)
111 (74.5%)
1 (0.7%)
Dominoes Dominoes
113
181(平均 1.6)
67 (59.3%)
0 (0.0%)
Flower Field Flower Field
26
40(平均 1.5)
18 (69.2%)
0 (0.0%)
Wordy Wordy
147
438(平均 3.0)
96 (65.3%)
4 (2.7%)
SGF Parsing SGF Parsing
19
129(平均 6.8)
13 (68.4%)
1 (5.3%)
Poker Poker
345
507(平均 1.5)
77 (22.3%)
1 (0.3%)
8 個已棄用的練習題
已開始
嘗試次數
完成次數
引導請求
Accumulate Accumulate
972
2,234(平均 2.3)
705 (72.5%)
42 (4.3%)
Beer Song Beer Song
182
256(平均 1.4)
133 (73.1%)
1 (0.5%)
Binary Binary
23
35(平均 1.5)
23 (100.0%)
0 (0.0%)
Hexadecimal Hexadecimal
6
6(平均 1.0)
6 (100.0%)
0 (0.0%)
Minesweeper Minesweeper
122
335(平均 2.7)
78 (63.9%)
2 (1.6%)
Octal Octal
14
18(平均 1.3)
14 (100.0%)
0 (0.0%)
Scale Generator Scale Generator
179
385(平均 2.2)
108 (60.3%)
1 (0.6%)
Trinary Trinary
17
23(平均 1.4)
17 (100.0%)
0 (0.0%)
41 個尚未實作的練習題
Alphametics Alphametics
Baffling Birthdays Baffling Birthdays
Bank Account Bank Account
Book Store Book Store
Camicia Camicia
Change Change
Connect Connect
DOT DSL DOT DSL
Eliud's Eggs Eliud's Eggs
Error Handling Error Handling
Forth Forth
Go Counting Go Counting
Intergalactic Transmission Intergalactic Transmission
Killer Sudoku Helper Killer Sudoku Helper
Ledger Ledger
Lens Person Lens Person
Line Up Line Up
Markdown Markdown
Micro Blog Micro Blog
PaaS I/O PaaS I/O
Parallel Letter Frequency Parallel Letter Frequency
Piecing It Together Piecing It Together
Prism Prism
Rational Numbers Rational Numbers
React React
Rectangles Rectangles
Relative Distance Relative Distance
Resistor Color Tolerance Resistor Color Tolerance
REST API REST API
Satellite Satellite
Save the Cow Save the Cow
Split-Second Stopwatch Split-Second Stopwatch
State of Tic-Tac-Toe State of Tic-Tac-Toe
Swift Scheduling Swift Scheduling
Tree Building Tree Building
Two Bucket Two Bucket
Variable Length Quantity Variable Length Quantity
Zebra Puzzle Zebra Puzzle
Zipper Zipper

Test Runner

瞭解更多

建立測試執行器,讓它只負責接收解答、執行所有測試,並回傳標準化的輸出。

目前版本: 4cc42185c72b243a1298d6407f9c4bf7f8a7de33 (部署最多需要 10 分鐘)

測試執行器總執行次數
458,084
測試執行通過率
18.4% (84172)
測試執行失敗率
22.5% (102880)
測試執行錯誤率
59.2% (271032)

Representer

進一步瞭解

打造 Representer:一小段程式碼,唯一的職責就是接收解決方案並回傳其正規化表示法。

下一個目標:打造 Representer。 進一步瞭解。

分析器

了解更多

為 Swift 打造分析器:Exercism 的分析器會自動評估學生的提交內容,並提供導師風格的評論。

下一個目標:打造分析器。 進一步了解。