+ 2

What is the exact cause of this error?

https://code.sololearn.com/cZ015hfDBbFN/?ref=app

26th Aug 2017, 5:06 PM
Niladri Pal
Niladri Pal - avatar
6 ответов
+ 1
Line 64 : You want to give higher priority to Thread "ob1" than maximum allowed.
26th Aug 2017, 5:18 PM
MineMaster1999
+ 1
-1 ? where?
26th Aug 2017, 5:30 PM
Niladri Pal
Niladri Pal - avatar
+ 1
yeah I think so, may be online compiler can't support this
26th Aug 2017, 5:34 PM
Niladri Pal
Niladri Pal - avatar
0
change it to -1
26th Aug 2017, 5:29 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
ob1.setPriority(ob.getPriority() - 1);
26th Aug 2017, 5:31 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
but you won't be able to see whole output.. time limit exceeds
26th Aug 2017, 5:32 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar