February 2019 0 12 Report
C++ Polski spoj zadanie "Diament bez skazy" Co mam źle w kodzie, bo pokazuje błąd w odpowiedzi???


#include <iostream>

using namespace std;
int T;
long int N;
int main()
{
cin>>T;
for(int i=1; i<=T; i++)
{
cin>>N;
if((N==1)||(N==6))
cout<<"TAK"< endl;
else cout<<"NIE"<endl;
}

return 0;
}

More Questions From This User See All

Recommend Questions



Life Enjoy

" Life is not a problem to be solved but a reality to be experienced! "

Get in touch

Social

© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.