Deutsch
Telegram

Nachricht#Boolean 40

20. März 2023
@
#Boolean 40 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin >> y1; cout << "x2 = "; cin >> x2; cout << "y2 = "; cin >> y2; a = (abs(x1-x2)==1 && abs(y1-y2)==2) or (abs(x1-x2)==2 && abs(y1-y2)==1); cout << boolalpha << a << endl; return 0; }
214 ·

In der Nähe im Feed

@@cpp_codesss#Boolean 38 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin @@cpp_codesss#Boolean 39 #include <iostream> #include <cmath> using namespace std; int main (){ int x1, y1, x2, y2; bool a; cout << "x1 = "; cin >> x1; cout << "y1 = "; cin
diese Nachricht
@@cpp_codesssFoto@@cpp_codesssFoto
CC++ vs PythonC++ vs Python@cpp_vs_python · Gruppe · Technik
114Mitglieder39 409Nachrichten im Index
Community-Feed In Telegram öffnen

Ein offener öffentlicher Feed aus dem Suchindex ChatCrawler — „Google für das öffentliche Telegram“; wird aktualisiert, während die Community gecrawlt wird. Zeiten in UTC.

Nur öffentliche Inhalte, offizielle Telegram-API. Über uns · FAQ · Grenzen des Index · Seite entfernen · Katalog · Suche · So zählen wir