English
Open in Telegram

Thread/cpp_gcc@rextester_bot

4 messages · –
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. D
        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.
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