English
Open in Telegram

Thread/cpp_gcc@rextester_bot

5 messages · –
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. D
        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. D
        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 · group · Tech
114members39 409messages in the index
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count