|  | 
|  | 
| back to board | WA14, Time limit exceeded Please tell me what could be the problem...WA14, Time limit exceeded, Time work 1.014
 
 Visual C#:
 
 
 if (x!=10.0){
 sum=ToInt32((x+0.05)*n);
 while (sum/n>=x+0.049999999999) sum--;
 }
 else
 {
 sum=x*n;
 }
 while  (((ans+sum)/(ans+n))>=y+0.0499999999999 ) ans++;
Re: WA14, Time limit exceeded у меня та же ошибка, С# просто медленно работает. Это же решение на ++ заходит | 
 | 
|