Add my own input for typescript

master
Nick Krichevsky 2019-09-26 20:36:51 -04:00
parent 6d29d33dff
commit baaf92a478
1 changed files with 35 additions and 32 deletions

View File

@ -1,38 +1,41 @@
bash-4.2$ ./mailbox 3 -bash-4.2$ ./mailbox 4
3 1 0 2
4 2 5 2
6 1 -1 2
5 1 Invalid value.
7 3 7 0
9 2 Invalid recipient id.
7 5
The result from thread 3 is 7 from 1 operations during 2 secs. Invalid recipient id.
The result from thread 2 is 13 from 2 operations during 2 secs. 10 4
The result from thread 1 is 14 from 3 operations during 3 secs. 7 1
bash-4.2$ ./mailbox 3 nb 2 1
3 1 3 2
4 2 The result from thread 1 is 9 from 2 operations during 2 secs.
6 1 The result from thread 3 is 0 from 0 operations during 2 secs.
5 1 The result from thread 4 is 10 from 1 operations during 2 secs.
7 3 The result from thread 2 is 8 from 3 operations during 3 secs.
9 2 -bash-4.2$ ./mailbox 4 nb
0 2
The result from thread 3 is 7 from 1 operations during 1 secs. 5 2
The result from thread 2 is 13 from 2 operations during 2 secs. -1 2
The result from thread 1 is 14 from 3 operations during 3 secs. Invalid value.
bash-4.2$ ./mailbox 5 7 0
6 4 Invalid recipient id.
7 5
The result from thread 1 is 0 from 0 operations during 0 secs. Invalid recipient id.
The result from thread 2 is 0 from 0 operations during 0 secs. 10 4
7 1
2 1
3 2
The result from thread 3 is 0 from 0 operations during 0 secs. The result from thread 3 is 0 from 0 operations during 0 secs.
The result from thread 5 is 0 from 0 operations during 0 secs. The result from thread 4 is 10 from 1 operations during 1 secs.
The result from thread 4 is 6 from 1 operations during 1 secs. The result from thread 1 is 9 from 2 operations during 2 secs.
bash-4.2$ ./mailbox 5 nb The result from thread 2 is 8 from 3 operations during 3 secs.
-bash-4.2$ ./mailbox 4
6 4 6 4
a 5
The result from thread 2 is 0 from 0 operations during 0 secs. The result from thread 2 is 0 from 0 operations during 0 secs.
The result from thread 5 is 0 from 0 operations during 0 secs.
The result from thread 1 is 0 from 0 operations during 0 secs. The result from thread 1 is 0 from 0 operations during 0 secs.
The result from thread 3 is 0 from 0 operations during 0 secs. The result from thread 3 is 0 from 0 operations during 0 secs.
The result from thread 4 is 6 from 1 operations during 1 secs. The result from thread 4 is 6 from 1 operations during 1 secs.