~/talk

SCM Challenge: Unique Words

Talkat CppCon 2017 · 2017-09-24..09-29· [testing]
slides:none on file

A coding puzzle asks to print numbers up and down without repeated identifiers so a first approach is a tokenizer that enforces uniqueness, which forces weird constraints like banning ordinary loops; an admitted shortcut is emitting one long literal via std::cout (distinct tokens like "t78" vs "78") and the grader caps N at the magic number 652. Others manage to smuggle a loop-based solution. The closing point states allocator is a handle to a heap, i.e. a pointer to a separate memory source and should be cheaply copyable.

AI-written summary · about

~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.