Search found 1 match

by Jadecarp
Mon Jan 24, 2005 5:13 pm
Forum: Volume 101 (10100-10199)
Topic: 10141 - Request for Proposal
Replies: 44
Views: 15718

10141 Why Time Limit Exceeded?

I am a beginner, but I think this is a reduced code. Why is it still time limit exceed? Thank you for your help. #include <stdio.h> #include <stdlib.h> void RFP(int NP[]); void reset(char Com[]); int count=0; int main() { int np[2]; scanf("%d%d",&np[0],&np[1]); while(np[0]!=0 || np[1]!=0){ count++; ...

Go to advanced search