thx dovier_antonio and everyone
i've solved that problem myself and got ac =D
really thanks a lot
Search found 2 matches
- Mon Mar 14, 2005 2:02 am
- Forum: Volume 3 (300-399)
- Topic: 357 - Let Me Count The Ways
- Replies: 90
- Views: 17641
- Sun Jan 16, 2005 4:03 pm
- Forum: Volume 3 (300-399)
- Topic: 357 - Let Me Count The Ways
- Replies: 90
- Views: 17641
357 exceed time limit
here is my code...
i run very fast in my own pc.....
but exceed time limit in online judge...
can anyone tell me why?
#include<iostream>
using namespace std;
int main()
{
long long int count=0;
int input,backup,temp,temp2;
while(cin>>input)
{
backup=input;
input-=input%5;
for (int i=0;i ...
i run very fast in my own pc.....
but exceed time limit in online judge...
can anyone tell me why?
#include<iostream>
using namespace std;
int main()
{
long long int count=0;
int input,backup,temp,temp2;
while(cin>>input)
{
backup=input;
input-=input%5;
for (int i=0;i ...