简体中文
Telegram

讨论串/cpp_gcc@rextester_bot

5 条消息 · –
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. 已
        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. 已
        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.

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法