Texts

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

Sorted by number of races

Show complete texts

Rank ID Text Length Races Difficulty Rating Top Score Top 100 Average Active Since
1. #10002 import os import sys def run(program, *args): pid = os.fork(... 154 5,494 1.041 142.4520mg (chakk) 105.38 50.89 December 5, 2009
2. #10009 input("\n\nPress the enter key to exit.") # waits for the us... 85 5,325 1.210 197.14realboot (sahibprime) 145.62 73.76 September 15, 2012
3. #10006 print "Using URL", url req = urllib2.Request(url) fd = urlli... 152 5,317 1.041 135.48www.tunnel.dev (leondreamed) 107.41 51.66 November 19, 2009
4. #10005 class URLLister(SGMLParser): def reset(self): SGMLParser.res... 183 4,606 0.977 125.80morning (chakkonmech) 100.58 48.52 November 19, 2009
5. #10008 (defop hello2 req (w/link (pr "there") (pr "here"))) (defop ... 236 4,385 0.911 121.70Sean Wrona (arenasnow) 88.41 44.18 December 6, 2009
6. #10004 this = (fsm_instance *)kmalloc(sizeof(fsm_instance), order);... 256 4,335 0.934 132.63Sean Wrona (arenasnow) 88.97 45.29 December 5, 2009
7. #10003 int res; unsigned long flags; u32 data = 0; if (PCI_##size##... 264 4,081 0.914 128.30chillin (slekap) 88.77 44.70 December 5, 2009
8. #10019 import string from random import * characters = string.ascii... 190 3,670 1.180 179.63chillin (slekap) 130.90 67.17 October 3, 2018
9. #10001 /** Loop waiting for a connection and a valid command */ whi... 445 3,414 1.030 133.72www.tunnel.dev (leondreamed) 99.61 53.84 December 13, 2009
10. #10018 import random n = random.randint(1, 99) guess = int(raw_inpu... 388 3,339 1.106 136.71leonidas (awsomaw) 121.77 67.08 October 3, 2018
11. #10010 public class HelloWorld { public static void main(String[] ... 143 3,201 1.052 134.85leonidas (awsomaw) 105.94 53.38 December 29, 2017
12. #10007 (publish :path "/hello-count" :content-type "text/html" :fun... 356 3,013 0.932 109.35paradoxical (chaoschild) 85.06 48.05 November 19, 2009
13. #10017 import random min = 1 max = 6 roll_again = "yes" while roll_... 272 2,863 1.137 145.67chillin (slekap) 112.46 60.33 October 3, 2018
14. #10011 print("2 + 2 is {}, minus 1 that's {}. quick maths.".format(... 78 2,751 0.913 119.54paradoxical (chaoschild) 85.01 41.98 December 29, 2017
15. #10015 function calculateArea(width, height) { try { var area = ... 301 2,564 1.025 133.59 (sidd_) 98.82 51.06 October 4, 2018
16. #10000 /* Read a set of characters from the socket */ StringBuffer ... 542 2,551 0.994 124.87chillin (slekap) 96.27 52.40 December 19, 2009
17. #10020 import urllib2 import json screen_name = "wordpress" url = "... 246 2,515 1.054 137.02 (sidd_) 99.93 52.32 October 3, 2018
18. #10016 import re import sys import urllib2 import BeautifulSoup usa... 344 2,198 0.970 128.63Sean Wrona (arenasnow) 91.08 47.04 October 3, 2018
19. #10021 import urllib2 import urllib import json url = "http://ajax.... 438 2,110 0.965 115.32 (sidd_) 88.06 47.08 October 3, 2018
20. #0 This is a placeholder text. You are seeing it because there ... 167 579 1.275 195.88Sean Wrona (arenasnow2) 157.69 103.83 May 18, 2010
21. #10022 import std; int main() { std::println("Hello World!"); } 56 110 0.962 98.52fishy15 (fishy15) 45.38 43.17 November 20, 2023
22. #10012 var $form, width, height, area; $form = $('#calculator'); $(... 372 52 0.834 107.41 (sidd_) 62.56 62.56 October 2, 2018
23. #10013 if (response) { try { var dealData = JSON.parse(response)... 501 47 0.872 112.00 (sidd_) 64.28 64.28 October 3, 2018
24. #10023 auto monad = [](auto v) { return [=] { return v; }; }; auto ... 179 44 0.859 56.79Jay (kamikamigod) 34.52 34.52 December 6, 2023
25. #10026 NamedDecl *Sema::getCurFunctionOrMethodDecl() const { DeclCo... 202 33 0.793 58.30Arrogant (dkaocka) 34.46 34.46 December 4, 2023
26. #10014 function showContent(dealData) { var newContent = ''; for ... 440 30 0.712 90.78 (sidd_) 55.52 55.52 October 3, 2018
27. #10024 template<typename ...Args> bool all(Args ...args) { return (... 246 11 1.067 67.25Jay (kamikamigod) 45.08 45.08 December 4, 2023
28. #10025 cmake_minimum_required(VERSION 3.10) project(Tutorial VERSIO... 467 9 0.907 68.13Bijay (moneybijay) 55.17 55.17 December 6, 2023