Umm...Thank you.
But after the array=100000, It became to get TLE.
Fllowing is my new code, could you give me a hand?
That's very kind of you. :)
#include <stdio.h>
#define MAX 100000
int main(){
register short num[MAX];
register short length[MAX]={0};
register short lis[MAX];
register ...
Search found 2 matches
- Sat Aug 05, 2006 3:46 pm
- Forum: Volume 4 (400-499)
- Topic: 481 - What Goes Up
- Replies: 82
- Views: 28406
- Fri Aug 04, 2006 3:33 pm
- Forum: Volume 4 (400-499)
- Topic: 481 - What Goes Up
- Replies: 82
- Views: 28406
Q481 - How to input ?
Umm...I know this problem should be solved by LIS.
But I don't know how to input.
Fllowing is my code , would you give me any suggestion?
It've got RE for so many times.
Thanks.
But I don't know how to input.
Fllowing is my code , would you give me any suggestion?
It've got RE for so many times.
Thanks.
Code: Select all
Removed After TLE...XD