Deutsch
Telegram

Thread/cpp_gcc@rextester_bot

5 Nachrichten · –
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <iostream> #include <cmath> using namespace std; int main (){ int a, b, c; cin>>a>>b>>c; if(pow(a,2)+pow(b,2)=pow(c,2)) cout<<true; else cout<<"x"<<endl; return 0; } /stdin
      1. G
        Errors: 1279888269/source.cpp: In function ‘int main()’: 1279888269/source.cpp:6:14: error: lvalue required as left operand of assignment if(a*a+b*b=c*c) ^ 1279888269/source.cpp:9:6: warning: statement has no effect [-Wunused-value] false; ^ 1279888269/source.cpp: At global scope: 1279888269/source.cpp:12:1: error: expected unqualified-id before ‘/’ token /stdin ^ Tip: Mistake? Edit your message, I'll adjust my response.
      2. G
        Errors: 1447615179/source.cpp: In function ‘int main()’: 1447615179/source.cpp:7:29: error: lvalue required as left operand of assignment if(pow(a,2)+pow(b,2)=pow(c,2)) ^ 1447615179/source.cpp: At global scope: 1447615179/source.cpp:13:1: error: expected unqualified-id before ‘/’ token /stdin ^ Tip: Mistake? Edit your message, I'll adjust my response.
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