Promotion during political debates

  • 9
  • Locked
Mr Chump is our candidate! And we'll help him a bit by making him give a speech, and then another, and then another during a political debate. We'll help him a little by making him talk until all the available time has been taken. Threads come to our rescue!
You can't complete this task, because you're not signed in.
Comments (7)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Hoist
Level 21 , San Diego, United States
4 March, 06:20
Clever. I had to look up join( )
MoJo
Level 22 , Cairns, Australia
2 November 2020, 23:15
hmmm chump... i wonder who this might be xD
Ian De Bie Full Stack Developer
15 October 2020, 03:05
for anyone who struggled on this one like i did, here's a hint. when is the soonest you can call the method to make the thread wait on the chump object?
Muhammad Vahhaaj
Level 19 , Rawalpindi, Pakistan
15 July 2019, 10:45
Output: Chump spoke 200 times Dustbin spoke 0 times Schooner spoke 0 times lmao chump took all the time others didnt even speak , that is why programming is damn fun xD
null
Level 26 , Orlando, United States
13 May 2020, 23:33
LOL CHUMP gotta make Eh-mu- ree-ka great again
Profj
Level 20 , Lagos, Nigeria
24 June 2019, 10:29
What function does the volatile keyword perform?
Andrei
Level 41
11 December 2020, 15:48
It takes that primitive and stores it in the main memory, instead of the cache memory of that thread/cpu. So if it is modified by thread 1 , then thread 2 can see the new value. https://www.youtube.com/watch?v=nhYIEqt-jvY&ab_channel=JakobJenkov