|
|
back to boardHELP ME IN 1003!THANK YOU Posted by roy 22 Aug 2002 14:58 why do the Memory usage is always -8. Even in such an experiment, I got Time Limit Exceeded and the Memory usage was -8. ********************************************* #include <iostream.h> typedef struct node1 {int start; int end; char mark[10]; }node; int main() { node ku[100]; int i; int n; short maxs; cin>>maxs>>n; while(n!=-1){ for(i=1;i<=n;i++){ cin>>ku[i].start>>ku[i].end; cin>>ku[i].mark; } cin>>n; } cout<<n; return 1; } **************************************** |
|
|