简体中文
Telegram

讨论串/cpp_gcc@rextester_bot

4 条消息 · –
C
C++ vs Python
/cpp_gcc@rextester_bot
    1. C
      C++ vs Python
      #include <bits/stdc++.h> using namespace std; double f1(double m, double k){ if(fabs(k+1)>(m-2)){ return sin(k+3-m);} else if(fabs(k+1)<=(m-2)){ return cos(k+3-m);} int main () double m, k, p; cin>>m>>k; p=f1(m, k); cout<<p; return 0; } /stdin 1 2
      1. 已
        Errors: 506664384/source.cpp: In function ‘double f1(double, double)’: 506664384/source.cpp:9:1: error: expected initializer before ‘double’ double m, k, p; ^~~~~~ 506664384/source.cpp:11:1: error: ‘p’ was not declared in this scope p=f1(m, k); ^ Tip: Mistake? Edit your message, I'll adjust my response.

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

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