Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
t>0
#include <iostream> using namespace std; //Compiler version g++ 6.3.0 int main() { int x,y,a,b,t; cin>>t; while(t--) { cin>>a>>b>>x>>y; if(a<x && b==y) { cout<<"right"; } else if(a>x && b==y) { cout<<"left"; } else if(a==x && b<y) { cout<<"up"; } else if(a==x && b>y) { cout<<"down"; } else cout<<"sad"; if(t>0) { cout<<endl; } } cout<<"hi"; }
run
|
edit
|
history
|
help
0
const test
Yo que se
Longest Palindrom in String
cppPyProperty
Testul 11(2021)
c++
count common elements in three sorted array without using extraspace
Aplicatie-Proiect
Dar
no_error