A Taste of CS50
David J. Malan '99
malan@harvard.edu
A Taste of CS50
David J. Malan '99
malan@harvard.edu
2/3
of CS50 students have never taken CS before
input →
→ output
123
123
1
123
10
1
123
100
10
1
123
100
10
1
100 × 1
123
100
10
1
100 × 1
10 × 2
+
123
100
10
1
100 × 1
10 × 2
1 × 3
+
+
123
100
10
1
100
20
3
+
+
123
# # #
100
10
1
# # #
102
101
100
# # #
22
21
20
# # #
4
2
1
000
4
2
1
001
4
2
1
010
4
2
1
011
4
2
1
100
4
2
1
101
4
2
1
110
4
2
1
111
4
2
1
000
4
2
1
8
1
A
01000001
65
Unicode
| | |
01001000 | 01001001 | 00100001 |
| | |
| | |
72 | 73 | 33 |
| | |
| | |
H | I | 33 |
| | |
| | |
H | I | ! |
| | |
11110000100111111001100010000010
4036991106
| | |
input →
→ output
algorithm