Project Euler #218: Perfect right-angled triangles

Sort by

recency

|

105 Discussions

|

  • + 0 comments

    100% python

    q = int(input())
    for query in range(q):
        n = int(input())
        print(0)
    
  • + 0 comments

    int main() { int q;cin>>q; while(q--)cout<<0<

  • + 0 comments

    Solve On your own Because it took me over 7 hours 6mins i am willing to give answer in C++ simple one. Don't waste time :)

    #include <iostream>
    using namespace std;
    
    int main() {
        int q;
        cin>>q;
        while(q--) 
            cout<<0<<endl;
        return 0;
    }
    
  • + 0 comments

    how can i slove to optmise the time , for me one test case is sucess remaining are al failed ?? how should i slove the problem ??

  • + 0 comments

    how can i slove to optmise the time , for me one test case is sucess remaining are al failed ?? how should i slove the problem ??