Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running programs is still broken sometimes #83

Open
dj3500 opened this issue Jan 22, 2016 · 0 comments
Open

Running programs is still broken sometimes #83

dj3500 opened this issue Jan 22, 2016 · 0 comments
Labels

Comments

@dj3500
Copy link
Owner

dj3500 commented Jan 22, 2016

A report from CodeForces user fnf. When running problem http://codeforces.com/contest/620/problem/A the second testcase usually gets "stuck" when run on the following program:

#include<iostream>
#include<cmath>
#include<cstring>
#include<set>
#include<vector>
#include<map>
#include<algorithm>
#include<utility>
#define MX 100000
#define pb push_back
#define mp make_pair
#define fs first
#define sec second
#define TC int T;cin>>T;while(T--)
#define endl "\n"

typedef long long int LL;
using namespace std;
int main()
{
   ios_base::sync_with_stdio(false);cin.tie(0);


    LL x,y,a,b;
    cin>>x>>y>>a>>b;
    cout<<max(abs(x-a),abs(y-b))<<endl;

 return 0;
}
@dj3500 dj3500 added the bug label Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant