Can anybody tell why this code gives WA ?? I am posting after applying many test cases. I have no idea now . Please help
Removed After AC. Thanks to brianfry713. For others it may be helpful that there are overlapping schedules like below. Considered those and got AC
input:
4
10:00 12:00 Lectures ...
Search found 7 matches
- Thu Nov 01, 2012 6:50 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10191 - Longest Nap
- Replies: 75
- Views: 44000
- Sat Oct 27, 2012 12:35 am
- Forum: Volume 101 (10100-10199)
- Topic: 10168 - Summation of Four Primes
- Replies: 51
- Views: 30007
Re: 10168 - Summation of Four Primes
Thanks, very much. Resubmitted and got accepted now.
- Fri Oct 26, 2012 1:51 pm
- Forum: Volume 4 (400-499)
- Topic: 400 - Unix ls
- Replies: 93
- Views: 30124
Re: 400 - Unix ls-PE
Please Help, this is the third problem that I am stuck on PE . I have posted others in respective threads. Why this code gives PE?. I have tried with trailing spaces up to maximum length for last column , then trailing spaces up to maximum available space and even with out trailing spaces!!! Now I ...
- Fri Oct 26, 2012 10:01 am
- Forum: Volume 101 (10100-10199)
- Topic: 10168 - Summation of Four Primes
- Replies: 51
- Views: 30007
Re: 10168 - Summation of Four Primes
Sorry for the previous post . I posted full code this time.
Code: Select all
AC
- Fri Oct 26, 2012 9:58 am
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46380
Re: 624 - CD-PE
Sorry I posted full code this time.
Code: Select all
AC
- Fri Oct 26, 2012 12:06 am
- Forum: Volume 101 (10100-10199)
- Topic: 10168 - Summation of Four Primes
- Replies: 51
- Views: 30007
Re: 10168 - Summation of Four Primes-PE
Can anybody tell why this code gives PE ?? I have looked for every possible case but every time it gives just PE. This same thing is happening with problem 628 also. I have posted about that problem in related thread too. Please help. Thanx in advance
Removed after AC . Codes were fine.There was ...
Removed after AC . Codes were fine.There was ...
- Thu Oct 25, 2012 11:58 pm
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46380
Re: 624 - CD-PE
Can anybody tell why this code gives PE ?? I have looked for every possible case but every time it gives just PE. This same thing is happening with problem 10168 also. I have posted about that problem in related thread too. Please help. Thanx in advance
Removed after AC . Codes were fine.There ...
Removed after AC . Codes were fine.There ...