Language: C++

#include<cstdio>
#include<string.h>
using namespace std;
bool isUnique3(string s)
{
	int check = 0;
	int len =s.length();
	for(int i = 0;i < len; i++)
	{
		int v = s[i]-'a';
		if (check & (1<<v))
		{
		return no;
	}
	check l = (1<<v);}
	return yes;}


int main(){
	string sl;
	while(cin>>s1){
		cout<<isUnique1(s1)<<endl;
		cout<<isU#include<cstdio>
int main(){
	int a,b;
	scanf("%d%d",&a,&b);
	if(a+b<10){printf("%d\n",a+b);}
	else {printf("error\n");}
	return 0;
	}nique2(s2)<<endl;
		cout<<isUnique3(s3)<<endl;
		}
	return 0;}


Compiler output:
a.cc:23:26: error: stray '#' in program
   23 |                 cout<<isU#include<cstdio>
      |                          ^
a.cc:4:16: error: 'string' was not declared in this scope
    4 | bool isUnique3(string s)
      |                ^~~~~~
a.cc:3:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
    2 | #include<string.h>
  +++ |+#include <string>
    3 | using namespace std;
a.cc: In function 'int main()':
a.cc:20:9: error: 'string' was not declared in this scope
   20 |         string sl;
      |         ^~~~~~
a.cc:20:9: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
a.cc:21:15: error: 'cin' was not declared in this scope
   21 |         while(cin>>s1){
      |               ^~~
a.cc:3:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    2 | #include<string.h>
  +++ |+#include <iostream>
    3 | using namespace std;
a.cc:21:20: error: 's1' was not declared in this scope
   21 |         while(cin>>s1){
      |                    ^~
a.cc:22:17: error: 'cout' was not declared in this scope
   22 |                 cout<<isUnique1(s1)<<endl;
      |                 ^~~~
a.cc:22:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:22:23: error: 'isUnique1' was not declared in this scope; did you mean 'isUnique3'?
   22 |                 cout<<isUnique1(s1)<<endl;
      |                       ^~~~~~~~~
      |                       isUnique3
a.cc:22:38: error: 'endl' was not declared in this scope
   22 |                 cout<<isUnique1(s1)<<endl;
      |                                      ^~~~
a.cc:3:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    2 | #include<string.h>
  +++ |+#include <ostream>
    3 | using namespace std;
a.cc:23:23: error: 'isU' was not declared in this scope
   23 |                 cout<<isU#include<cstdio>
      |                       ^~~
a.cc:30:17: error: 's2' was not declared in this scope
   30 |         }nique2(s2)<<endl;
      |                 ^~
a.cc:30:10: error: 'nique2' was not declared in this scope
   30 |         }nique2(s2)<<endl;
      |          ^~~~~~
a.cc:31:33: error: 's3' was not declared in this scope
   31 |                 cout<<isUnique3(s3)<<endl;
      |                                 ^~
a.cc:31:35: error: 'isUnique3' cannot be used as a function
   31 |                 cout<<isUnique3(s3)<<endl;
      |                                   ^