Texts

Below you will find a set of texts used on TypeRacer. Certain texts only appear on certain difficulties.

Sorted by difficulty rating compared to other texts

Show complete texts

Rank ID Text Length Races Difficulty Rating Top Score Top 100 Average Active Since
1. #0 This is a placeholder text. You are seeing it because there ... 167 585 1.274 195.88Sean Wrona (arenasnow2) 157.98 104.14 May 18, 2010
2. #10009 input("\n\nPress the enter key to exit.") # waits for the us... 85 6,765 1.202 197.14realboot (sahibprime) 145.62 69.10 September 15, 2012
3. #10019 import string from random import * characters = string.ascii... 190 5,100 1.178 179.63chillin (slekap) 131.72 62.74 October 3, 2018
4. #10017 import random min = 1 max = 6 roll_again = "yes" while roll_... 272 4,166 1.139 180.73josugamer (ttmm22) 114.31 57.15 October 3, 2018
5. #10018 import random n = random.randint(1, 99) guess = int(raw_inpu... 388 4,555 1.105 136.71leonidas (awsomaw) 121.77 62.64 October 3, 2018
6. #10010 public class HelloWorld { public static void main(String[] ... 143 4,473 1.059 134.85leonidas (awsomaw) 106.57 51.42 December 29, 2017
7. #10020 import urllib2 import json screen_name = "wordpress" url = "... 246 3,796 1.058 137.02 (sidd_) 101.03 50.37 October 3, 2018
8. #10006 print "Using URL", url req = urllib2.Request(url) fd = urlli... 152 6,690 1.048 145.88 (poke1) 109.27 50.82 November 19, 2009
9. #10002 import os import sys def run(program, *args): pid = os.fork(... 154 6,870 1.044 142.45im liquid smooth (chakk) 107.96 49.81 December 5, 2009
10. #10001 /** Loop waiting for a connection and a valid command */ whi... 445 4,578 1.039 154.01Tahoonga (tahoonga) 101.36 51.65 December 13, 2009
11. #10015 function calculateArea(width, height) { try { var area = ... 301 3,891 1.035 179.06Joshua (alph198) 101.74 49.41 October 4, 2018
12. #10025 cmake_minimum_required(VERSION 3.10) project(Tutorial VERSIO... 467 200 1.019 119.34Silviu LorenČ› (smilorent) 72.42 63.32 December 6, 2023
13. #10000 /* Read a set of characters from the socket */ StringBuffer ... 542 3,644 1.002 124.87chillin (slekap) 96.61 49.71 December 19, 2009
14. #10024 template<typename ...Args> bool all(Args ...args) { return (... 246 19 0.989 87.93 (zak389) 53.28 53.28 December 4, 2023
15. #10022 import std; int main() { std::println("Hello World!"); } 56 1,335 0.986 128.38Leon (leonsilicon) 76.77 41.77 November 20, 2023
16. #10005 class URLLister(SGMLParser): def reset(self): SGMLParser.res... 183 5,833 0.981 131.54Chrono (chrono_dvorak) 101.67 47.21 November 19, 2009
17. #10016 import re import sys import urllib2 import BeautifulSoup usa... 344 3,411 0.980 197.76Ahmed Sabry (ahmedsabry) 93.75 45.37 October 3, 2018
18. #10021 import urllib2 import urllib import json url = "http://ajax.... 438 3,248 0.975 115.32 (sidd_) 89.31 45.83 October 3, 2018
19. #10007 (publish :path "/hello-count" :content-type "text/html" :fun... 356 4,159 0.942 282.71666 (dapoerlink321) 87.85 46.13 November 19, 2009
20. #10004 this = (fsm_instance *)kmalloc(sizeof(fsm_instance), order);... 256 5,492 0.938 132.63Sean Wrona (arenasnow) 89.77 44.24 December 5, 2009
21. #10011 print("2 + 2 is {}, minus 1 that's {}. quick maths.".format(... 78 4,108 0.921 123.61 (poke1) 87.85 40.82 December 29, 2017
22. #10008 (defop hello2 req (w/link (pr "there") (pr "here"))) (defop ... 236 5,598 0.919 187.09josugamer (ttmm22) 90.28 43.26 December 6, 2009
23. #10003 int res; unsigned long flags; u32 data = 0; if (PCI_##size##... 264 5,239 0.917 128.30chillin (slekap) 90.65 43.61 December 5, 2009
24. #10013 if (response) { try { var dealData = JSON.parse(response)... 501 52 0.867 112.00 (sidd_) 64.12 64.12 October 3, 2018
25. #10023 auto monad = [](auto v) { return [=] { return v; }; }; auto ... 179 1,025 0.857 111.12 (poke1) 66.12 37.55 December 6, 2023
26. #10012 var $form, width, height, area; $form = $('#calculator'); $(... 372 60 0.823 107.41 (sidd_) 62.16 62.16 October 2, 2018
27. #10026 NamedDecl *Sema::getCurFunctionOrMethodDecl() const { DeclCo... 202 56 0.792 109.68 (poke1) 44.12 44.12 December 4, 2023
28. #10014 function showContent(dealData) { var newContent = ''; for ... 440 42 0.714 90.78 (sidd_) 56.47 56.47 October 3, 2018