ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

wrong data tests in 1057... :/
Posted by Peter Zielinski 28 Aug 2008 20:51
I've submitted such code and got Time Limit Exceeded (on test 1):

#include <cstdio>
using namespace std;
typedef long long ll;
int main() {
    ll x, y;
    scanf("%lld%lld", &x, &y);
    if(x > 22147483647LL || y > 22147483647LL) while(1);
    return 0;
}

but in the statement of the task there are constrains X <= Y <= 2^31-1.
please, verify your input files.

Edited by author 28.08.2008 20:57
Read faq about using long long type
Posted by Vladimir Yakovlev (USU) 28 Aug 2008 21:27