fork download
  1. #include<iostream>
  2. using namespace std;long d,t,u;main(){string a,b(8,0);while(cin>>t>>a[0]&&getline(cin,a,'-')>>t>>b[0]>>u){strftime(&b[0],9,"%T",gmtime(&d));b[0]='(';cout<<b<<")"<<a<<endl;d+=t*60+u;}}
Success #stdin #stdout 0s 3468KB
stdin
1. Concerning the UFO Sighting Near Highland Illinois - 2:08
2. The Black Hawk War - 2:14
3. Come On Feel the Illinoise - 6:45
4. John Wayne Gacy Jr - 3:19
5. Jacksonville - 5:24
6. A Short Reprise for Mary Todd Who Went Insane but for Very Good Reasons - 0:47
7. Decatur or Round of Applause for Your Stepmother - 3:03
8. One Last Whoo Hoo for the Pullman - 0:06
9. Chicago - 6:04
10. Casimir Pulaski Day - 5:53
11. To the Workers of the Rock River Valley Region - 1:40
12. The Man of Metropolis Steals Our Hearts - 6:17
13. Prairie Fire That Wanders About - 2:11
14. A Conjunction of Drones Simulating the Way - 0:19
15. The Predatory Wasp of the Palisades Is Out to Get Us - 5:23
16. They Are Night Zombies They Are Neighbors They Have Come Back from the Dead Ahhhh - 5:09
17. Lets Hear That String Part Again Because I Dont Think They Heard It All the Way Out in Bushnell - 0:40
18. In This Temple as in the Hearts of Man for Whom He Saved the Earth - 0:35
19. The Seers Tower - 3:53
20. The Tallest Man the Broadest Shoulders - 7:02
21. Riffs and Variations on a Single Note - 0:46
22. Out of Egypt into the Great Laugh of Mankind and I Shake the Dirt from My Sandals as I Run - 4:21
stdout
(0:00:00) Concerning the UFO Sighting Near Highland Illinois 
(0:02:08) The Black Hawk War 
(0:04:22) Come On Feel the Illinoise 
(0:11:07) John Wayne Gacy Jr 
(0:14:26) Jacksonville 
(0:19:50) A Short Reprise for Mary Todd Who Went Insane but for Very Good Reasons 
(0:20:37) Decatur or Round of Applause for Your Stepmother 
(0:23:40) One Last Whoo Hoo for the Pullman 
(0:23:46) Chicago 
(0:29:50) Casimir Pulaski Day 
(0:35:43) To the Workers of the Rock River Valley Region 
(0:37:23) The Man of Metropolis Steals Our Hearts 
(0:43:40) Prairie Fire That Wanders About 
(0:45:51) A Conjunction of Drones Simulating the Way 
(0:46:10) The Predatory Wasp of the Palisades Is Out to Get Us 
(0:51:33) They Are Night Zombies They Are Neighbors They Have Come Back from the Dead Ahhhh 
(0:56:42) Lets Hear That String Part Again Because I Dont Think They Heard It All the Way Out in Bushnell 
(0:57:22) In This Temple as in the Hearts of Man for Whom He Saved the Earth 
(0:57:57) The Seers Tower 
(1:01:50) The Tallest Man the Broadest Shoulders 
(1:08:52) Riffs and Variations on a Single Note 
(1:09:38) Out of Egypt into the Great Laugh of Mankind and I Shake the Dirt from My Sandals as I Run