QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#765902#9269. C and Pascal StringsN_z_AC ✓1ms3884kbC++236.6kb2024-11-20 15:36:552024-11-20 15:36:56

Judging History

This is the latest submission verdict.

  • [2024-11-20 15:36:56]
  • Judged
  • Verdict: AC
  • Time: 1ms
  • Memory: 3884kb
  • [2024-11-20 15:36:55]
  • Submitted

answer

#include<bits/stdc++.h>
using namespace std;
struct time_helper{
#ifdef LOCAL
clock_t time_last;time_helper(){time_last=clock();}void test(){auto time_now=clock();std::cerr<<"time:"<<1.*(time_now-time_last)/CLOCKS_PER_SEC<<";all_time:"<<1.*time_now/CLOCKS_PER_SEC<<std::endl;time_last=time_now;}~time_helper(){test();}
#else
void test(){}
#endif
}time_helper;
#ifdef LOCAL
#include"dbg.h"
#else
#define dbg(...) (__VA_ARGS__)
#endif
// namespace Fread{const int SIZE=1<<16;char buf[SIZE],*S,*T;inline char getchar(){if(S==T){T=(S=buf)+fread(buf,1,SIZE,stdin);if(S==T)return'\n';}return *S++;}}namespace Fwrite{const int SIZE=1<<16;char buf[SIZE],*S=buf,*T=buf+SIZE;inline void flush(){fwrite(buf,1,S-buf,stdout);S=buf;}inline void putchar(char c){*S++=c;if(S==T)flush();}struct NTR{~NTR(){flush();}}ztr;}
// #define getchar Fread::getchar
// #define putchar Fwrite::putchar
// int print_precision=10;bool print_T_endl=1;char print_between=' ';
// template<typename T>struct is_char{static constexpr bool value=(std::is_same<T,char>::value||std::is_same<T,signed char>::value||std::is_same<T,unsigned char>::value);};template<typename T>struct is_integral_ex{static constexpr bool value=(std::is_integral<T>::value||std::is_same<T,__int128>::value)&&!is_char<T>::value;};template<typename T>struct is_floating_point_ex{static constexpr bool value=std::is_floating_point<T>::value||std::is_same<T,__float128>::value;};namespace Fastio{struct Reader;struct Writer;template<size_t id>struct read_tuple{template<typename...T>static void read(Reader&stream,std::tuple<T...>&x){read_tuple<id-1>::read(stream,x);stream>>get<id-1>(x);}};template<>struct read_tuple<0>{template<typename...T>static void read([[maybe_unused]]Reader&stream,[[maybe_unused]]std::tuple<T...>&x){}};template<size_t id>struct print_tuple{template<typename...T>static void print(Writer&stream,const std::tuple<T...>&x){print_tuple<id-1>::print(stream,x);putchar(print_between);stream<<get<id-1>(x);}};template<>struct print_tuple<1>{template<typename...T>static void print(Writer&stream,const std::tuple<T...>&x){stream<<get<0>(x);}};template<>struct print_tuple<0>{template<typename...T>static void print([[maybe_unused]]Writer&stream,[[maybe_unused]]const std::tuple<T...>&x){}};
// struct Reader{template<typename T>typename std::enable_if_t<std::is_class<T>::value,Reader&>operator>>(T&x){for(auto &y:x)*this>>y;return *this;}template<typename...T>Reader&operator>>(std::tuple<T...>&x){read_tuple<sizeof...(T)>::read(*this,x);return *this;}template<typename T>typename std::enable_if_t<is_integral_ex<T>::value,Reader&>operator>>(T&x){char c=getchar();short f=1;while(c<'0'||c>'9'){if(c=='-')f*=-1;c=getchar();}x=0;while(c>='0'&&c<='9'){x=(x<<1)+(x<<3)+(c^48);c=getchar();}x*=f;return *this;}template<typename T>typename std::enable_if_t<is_floating_point_ex<T>::value,Reader&>operator>>(T&x){char c=getchar();short f=1,s=0;x=0;T t=0;while((c<'0'||c>'9')&&c!='.'){if(c=='-')f*=-1;c=getchar();}while(c>='0'&&c<='9'&&c!='.')x=x*10+(c^48),c=getchar();if(c=='.')c=getchar();else return x*=f,*this;while(c>='0'&&c<='9')t=t*10+(c^48),s++,c=getchar();while(s--)t/=10.0;x=(x+t)*f;return*this;}template<typename T>typename std::enable_if_t<is_char<T>::value,Reader&>operator>>(T&c){c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();return *this;}Reader&operator>>(char*str){int len=0;char c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();while(c!='\n'&&c!=' '&&c!='\r')str[len++]=c,c=getchar();str[len]='\0';return*this;}template<typename T1,typename T2>Reader&operator>>(std::pair<T1,T2>&x){*this>>x.first>>x.second;return *this;}Reader&operator>>(std::string&str){str.clear();char c=getchar();while(c=='\n'||c==' '||c=='\r')c=getchar();while(c!='\n'&&c!=' '&&c!='\r')str.push_back(c),c=getchar();return*this;}Reader(){}}cin;const char endl='\n';
// struct Writer{typedef __int128 mxdouble;template<typename T>typename std::enable_if_t<std::is_class<T>::value,Writer&>operator<<(const T&x){for(auto q:x){*this<<q;if(!is_class<decltype(q)>::value)*this<<print_between;}if(!is_class<typename T::value_type>::value&&print_T_endl)*this<<'\n';return *this;}template<typename...T>Writer&operator<<(const std::tuple<T...>&x){print_tuple<sizeof...(T)>::print(*this,x);if(print_T_endl)*this<<'\n';return *this;}template<typename T>typename std::enable_if_t<is_integral_ex<T>::value,Writer&>operator<<(T x){if(x==0)return putchar('0'),*this;if(x<0)putchar('-'),x=-x;static int sta[45];int top=0;while(x)sta[++top]=x%10,x/=10;while(top)putchar(sta[top]+'0'),--top;return*this;}template<typename T>typename std::enable_if_t<is_floating_point_ex<T>::value,Writer&>operator<<(T x){if(x<0)putchar('-'),x=-x;x+=pow(10,-print_precision)/2;mxdouble _=x;x-=(T)_;static int sta[45];int top=0;while(_)sta[++top]=_%10,_/=10;if(!top)putchar('0');while(top)putchar(sta[top]+'0'),--top;putchar('.');for(int i=0;i<print_precision;i++)x*=10;_=x;while(_)sta[++top]=_%10,_/=10;for(int i=0;i<print_precision-top;i++)putchar('0');while(top)putchar(sta[top]+'0'),--top;return*this;}template<typename T>typename std::enable_if_t<is_char<T>::value,Writer&>operator<<(const T&c){putchar(c);return*this;}Writer&operator<<(char*str){int cur=0;while(str[cur])putchar(str[cur++]);return *this;}Writer&operator<<(const char*str){int cur=0;while(str[cur])putchar(str[cur++]);return*this;}template<typename T1,typename T2>Writer&operator<<(const std::pair<T1,T2>&x){*this<<x.first<<print_between<<x.second;if(print_T_endl)*this<<'\n';return *this;}Writer&operator<<(const std::string&str){int st=0,ed=str.size();while(st<ed)putchar(str[st++]);return*this;}Writer(){}}cout;}
// #define cin Fastio::cin
// #define cout Fastio::cout
// #define endl Fastio::endl
template<class Fun>class y_combinator_result{Fun fun_;public:template<class T>explicit y_combinator_result(T &&fun): fun_(std::forward<T>(fun)) {}template<class ...Args>decltype(auto) operator()(Args &&...args){return fun_(std::ref(*this), std::forward<Args>(args)...);}};template<class Fun>decltype(auto) y_combinator(Fun &&fun){return y_combinator_result<std::decay_t<Fun>>(std::forward<Fun>(fun));}

void init();void solve(int tc);
main()
{
	init();int t=1;
	// cin>>t;
	for(int tc=1;tc<=t;tc++)solve(tc);
}
void init()
{
}
string ans[]={"None","Pascal","C","Both"};
void solve([[maybe_unused]]int tc)
{
	vector<string>s;
	{
		string s0;
		while(cin>>s0)s.emplace_back(s0);
	}
	bool f1=0,f2=0;
	{
		for(auto q:s)
		{
			if(q=="00"){f1=1;break;}
			if(q<"20"||q>"7f")break;
		}
	}
	{
		int len=(s[0][0]>'9'?s[0][0]-'a'+10:s[0][0]-'0')*16
		       +(s[0][1]>'9'?s[0][1]-'a'+10:s[0][1]-'0');
		if(s.size()>len)
		{
			f2=1;
			for(int x=1;x<=len;x++)
			if(s[x]<"20"||s[x]>"7f")f2=0;
		}
	}
	cout<<ans[f1*2+f2]<<endl;
}

这程序好像有点Bug,我给组数据试试?

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3776kb

input:

4d 4f 53 43 4f 57 00 5a

output:

C

result:

ok "C"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

04 49 43 50 43 00

output:

Pascal

result:

ok "Pascal"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3780kb

input:

05 4e 4f 4e 45 81

output:

None

result:

ok "None"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

00 f4

output:

Both

result:

ok "Both"

Test #5:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

29

output:

None

result:

ok "None"

Test #6:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

ce

output:

None

result:

ok "None"

Test #7:

score: 0
Accepted
time: 0ms
memory: 3544kb

input:

49 f4

output:

None

result:

ok "None"

Test #8:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

23 00

output:

C

result:

ok "C"

Test #9:

score: 0
Accepted
time: 0ms
memory: 3844kb

input:

26 00 88

output:

C

result:

ok "C"

Test #10:

score: 0
Accepted
time: 0ms
memory: 3844kb

input:

41 00 74

output:

C

result:

ok "C"

Test #11:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

4d 2f 60 cb fb dd ef 88 50 32

output:

None

result:

ok "None"

Test #12:

score: 0
Accepted
time: 0ms
memory: 3780kb

input:

45 7e 49 4b 00 e7 cb 6f 43 06

output:

C

result:

ok "C"

Test #13:

score: 0
Accepted
time: 0ms
memory: 3604kb

input:

30 28 3e 65 3a 2b 46 43 2c 61 35 77 5b 2a 7c 47 71 78 5e 52 2a 71 52 47 7a 71 24 2b 64 66 34 37 44 32 75 78 27 4d 50 2e 6e 41 3f 2d 2f 4c 52 7f 33 a0 5e 08 e5 f2 54 69 c6 a1 bf 75 4b f2 b1 c8 d9 cf b7 1e 83 fe 5d be f6 dd 21 59 3f 8e 0e d4 28 5f 31 27 a2 45 02 b9 d2 be 03 c2 bb 19 d9 3b 58 29 50 01 ...

output:

Pascal

result:

ok "Pascal"

Test #14:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

a2 8b 2a 6a d2 bf fe 28 35 0e 3a d3 5d 47 0e 5f b2 28 b9 f8 f0 e7 13 7d a6 ac 04 00 b7 14 0a 47 dd b0 b7 4e 21 84 31 c3 64 88 b1 89 da 2a 04 36 8a ca 0d 94 cf 3d 41 23 da 4b 29 96 2d 31 e4 52 21 20 a2 f2 61 bc 2a c5 6d 9d 55 4e 18 d1 90 c3 0b 58 5e 8f 40 a7 d4 d1 87 26 1c db 04 b2 f2 b3 af 1c 2a 95 ...

output:

None

result:

ok "None"

Test #15:

score: 0
Accepted
time: 0ms
memory: 3676kb

input:

4f 5d 37 4f 54 55 49 39 57 67 6e 7b 27 7c 70 29 67 31 2c 68 51 77 33 34 4e 52 4c 5a 3f 5b 51 3f 38 7e 6d 77 7f 5d 45 4e 72 2b 6c 63 5e 31 4c 48 28 2c 44 64 28 4d 45 71 49 78 34 7e 2b 65 6c 4d 61 43 79 76 34 30 3d 23 3d 62 4e 32 6f 61 56 36 00 dc 76 2b ea c2 17 c4 07 f5 fc aa d3 2f bd 3d 2a 80 e3 0c ...

output:

Both

result:

ok "Both"

Test #16:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

65 6c 2d 65 7d 76 67 64 32 6e 31 5d 30 58 71 5d 57 6d 42 68 5b 7a 50 54 62 3e 3d 2c 49 6f 60 6e 20 36 61 6e 69 6e 5e 71 5d 69 6a 73 47 4b 48 21 67 6d 54 60 50 7b 3a 64 6a 57 7d 79 51 74 72 5e 54 7b 00 42 c5 17 09 8c d5 91 cf c0 88 af f1 85 0d cf e8 94 c7 a6 a0 3a cc ba fa da 66 e9 4b 69 96 e1 db f0 ...

output:

C

result:

ok "C"

Test #17:

score: 0
Accepted
time: 0ms
memory: 3872kb

input:

28 56 7f 4b 4d 7f 64 44 63 3c 6b 6c 32 2f 37 4c 57 6b 5d 45 5f 5a 27 47 4f 57 32 7a 5f 74 2f 38 7a 35 45 30 7f 33 2d 45 23 7b 55 6d 2d 6c 5e 73 39 5d 3e 36 36 54 3f 48 48 70 3e 4f 46 40 6d 47 3d 29 51 7d 6b 24 24 76 64 5d 54 66 51 35 22 5a 2c 41 65 2f 26 2a 65 38 22 6b 20 7b 57 56 28 54 71 6f 62 72 ...

output:

Both

result:

ok "Both"

Test #18:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

3f 50 4f 73 30 79 3e 44 66 7b 7d 3e 53 5a 48 5e 3e 2e 2f 56 21 22 57 2c 6a 75 59 58 7e 7c 62 49 72 7e 32 61 31 76 7d 74 59 35 6d 2d 7d 7e 3d 6a 64 28 3f 7b 28 40 58 66 59 44 5f 46 58 29 41 48 71 72 03 d0 56 f4 d4 f6 84 48 d6 0d 42 25 eb 63 2e 61 15 2f 44 23 bd b8 ef 84 83 8c 82 c1 19 d4 50 1a 24 28 ...

output:

Pascal

result:

ok "Pascal"

Test #19:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

f2 4b 3f 24 3d 6a 79 5e 6c 3f 50 7b 70 48 3f 54 6a 5a 70 77 72 5c 46 65 71 49 35 54 47 52 44 4d 46 3a 52 4f 54 38 4e 2a 6d 78 7e 25 7f 3a 79 79 6d 32 2d 74 2d 46 5a 37 2a 73 34 78 62 29 45 21 48 2a 28 6f 63 6f 6f 34 4e 23 5f 75 36 26 4f 4c 3f 6b 2d 47 20 3a 58 27 42 4f 46 22 64 39 60 42 5a 7c 42 44 ...

output:

Pascal

result:

ok "Pascal"

Test #20:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

01 61 00 90 36 4d b7 02 02 32 eb 81 62 6d 97 4b af 58 27 e6 6c b6 88 68 30 eb 59 30 42 6e b2 4a db 39 95 cf ea 5f da d8 44 99 6c 89 9b 85 32 cf 47 36 bd bf 41 f2 96 63 ce 59 76 eb 97 0e 08 14 79 6c 95 58 fd f3 5b 66 f5 b1 60 f7 43 c7 51 1a 31 ba 66 47 e1 ad d1 e8 b0 79 ee c1 a8 51 1e a6 9e 01 ba 88 ...

output:

Pascal

result:

ok "Pascal"

Test #21:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

7d 50 5c 2f 4a 6e 65 63 52 60 71 41 52 44 67 7f 5a 4d 61 49 30 5f 2f 7f 6c 74 72 54 7a 79 61 50 7b 31 47 4f 23 51 22 21 7c 42 46 68 62 23 58 7c 66 65 34 6a 6c 4d 68 71 2c 35 36 44 74 6a 56 2b 24 2f 51 41 30 3a 67 57 42 52 2a 30 36 77 61 43 5d 5a 66 5d 3a 60 28 3c 68 23 4a 34 71 51 22 4e 38 4b 5b 64 ...

output:

Pascal

result:

ok "Pascal"

Test #22:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

cc bc b5 c9 76 57 a0 b0 41 fc 79 f7 4d e4 bb c1 0d bb 72 e3 c9 22 c0 6a 1d 2e 5b 13 78 e7 0d d2 9e ca 33 4c 27 48 3f 5c fe 45 36 92 e2 99 33 af e8 92 e2 2a f7 71 06 ae 4a e8 f3 99 f2 a2 14 7f 52 bb 66 a6 a1 44 fb 87 6b c1 79 53 11 aa 98 6c 44 ed a8 e7 8e 6a 08 11 c9 76 b0 e7 a5 59 a8 9c 27 d0 8f 17 ...

output:

None

result:

ok "None"

Test #23:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

3f 38 74 53 55 7e 28 69 76 6d 45 3e 65 40 49 7a 5a 4a 27 78 3f 4d 22 25 55 43 36 25 50 59 70 4f 77 6f 71 6c 65 59 2e 5c 4b 21 33 30 6b 62 7b 51 7e 4f 5a 58 50 6a 74 34 3f 6d 23 27 3f 25 34 69 00 e0 0d 69 24 11 f8 23 81 97 dc b0 b3 74 c9 14 22 34 23 fd 26 f6 da 6a 18 85 e8 2a aa 2c d1 35 41 a2 43 c3 ...

output:

Both

result:

ok "Both"

Test #24:

score: 0
Accepted
time: 0ms
memory: 3836kb

input:

6b 61 2c 78 7a 21 3f 64 52 5b 2b 23 78 50 71 41 29 35 27 3d 55 32 57 29 7e 45 5e 4c 5d 7c 4d 40 5d 3e 4c 34 3e 23 52 2a 53 37 4e 3a 64 5b 21 2e 6d 24 22 44 5d 5a 78 00 0f 78 3a c4 96 56 95 74 54 22 0f b1 d6 9b 81 92 e0 d6 37 c6 e8 ba 72 0f 9a 82 e6 c1 52 3f 3e 47 a5 54 94 9f d8 f8 f9 d9 67 b7 f3 9b ...

output:

C

result:

ok "C"

Test #25:

score: 0
Accepted
time: 0ms
memory: 3520kb

input:

50 57 20 69 4a 42 6d 76 7d 4d 76 7f 54 5e 41 73 6e 6c 27 34 40 65 55 7a 52 49 4e 6f 5d 2c 66 51 53 58 68 34 37 49 32 3d 60 4f 34 47 3b 2f 55 62 46 63 6e 4f 56 55 2c 25 72 28 32 70 55 2f 75 2c 50 34 5e 6e 45 73 6c 3c 2d 7c 6f 30 74 74 2e 59 57 54 22 79 4d 29 59 48 3b 32 34 6f 3e 46 29 6e 26 6b 21 38 ...

output:

Both

result:

ok "Both"

Test #26:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

66 67 2e 29 4a 20 59 4f 48 57 7f 28 5e 3a 29 7e 40 6f 32 2d 33 2c 6c 29 32 3e 5b 76 2d 43 38 4e 45 2f 2f 3f 72 2b 61 6a 3d 31 23 45 46 72 7e 7a 7f 50 2d 66 2e 44 41 3b 2f 79 20 7e 70 2f 42 29 74 39 33 4a 31 7f 34 43 71 3d 7a 48 55 62 6d 24 2d 32 2b 34 61 25 22 6a 2b 25 59 4b 7b 74 28 52 52 44 5b 6b ...

output:

Pascal

result:

ok "Pascal"

Test #27:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

98 59 6c 33 55 4a 72 35 37 71 60 34 63 42 64 3f 4d 65 7e 78 62 77 23 33 7e 25 3a 5b 36 54 62 4e 30 3c 2a 3c 66 28 78 2b 47 77 23 76 56 5e 79 49 69 24 7a 47 4b 25 5a 25 5a 50 43 4c 2a 69 71 7a 20 47 34 21 37 77 31 47 7f 57 42 25 79 5c 71 49 7c 2d 21 53 53 45 45 5b 7d 75 27 6a 2c 5f 43 3c 66 7c 69 65 ...

output:

Pascal

result:

ok "Pascal"

Test #28:

score: 0
Accepted
time: 1ms
memory: 3648kb

input:

14 3d 25 2d 7e 76 49 4a 62 55 71 33 62 61 75 37 72 74 60 7b 76 00 5f 84 d5 16 6a 9e 24 f1 8e a1 ec 53 08 b1 58 6e 40 86 f6 da c0 d4 b3 3a 78 92 b3 e1 e4 44 19 bc 2b b3 6e d6 df d7 04 67 e4 de a9 f0 11 af 5f c0 ea aa e0 8d f3 ed b7 98 d7 95 47 3c d7 88 ae 36 b6 b8 52 76 d2 c7 d8 60 6d 23 4a 36 65 9b ...

output:

Pascal

result:

ok "Pascal"

Test #29:

score: 0
Accepted
time: 0ms
memory: 3576kb

input:

69 5e 33 5c 40 7f 30 35 56 4f 47 33 4e 4f 43 71 3c 36 43 60 68 4b 58 42 2f 6f 4b 50 61 71 54 36 24 77 44 72 4f 7b 5c 78 50 4c 74 30 27 29 75 76 29 6a 7f 3a 3e 37 64 3e 62 2e 6b 7b 48 41 2e 7c 72 56 5c 60 5a 25 38 3c 2d 5e 38 37 4b 60 66 2d 48 63 63 2d 4e 6f 7f 3b 39 23 42 4e 39 4f 67 53 74 7a 3b 68 ...

output:

Pascal

result:

ok "Pascal"

Test #30:

score: 0
Accepted
time: 0ms
memory: 3868kb

input:

e1 17 23 eb 05 a7 bd 77 d7 fd 48 86 c3 7e 4b 26 09 83 5f 99 3c d9 b1 d7 c4 3f 84 09 5d eb ad 0f 96 06 15 fb 53 2b 3b 94 4c ec af d4 8c 4d 98 6a f2 47 2f 39 b3 46 42 d7 d6 ac b2 0f b6 4c f5 5f 84 ef 94 7b c3 d2 ae c8 ca 26 74 e2 46 8f ab 16 b5 a6 2d e9 eb 77 68 8f 91 04 dd 74 a1 c0 a2 b7 eb 14 e1 aa ...

output:

None

result:

ok "None"

Test #31:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

34 72 7e 4b 26 27 65 35 65 49 3a 53 32 6c 2a 72 44 37 57 55 26 25 34 70 37 46 2b 4f 28 3f 37 4d 62 46 2a 3d 3d 47 68 45 4a 62 6a 5e 4b 2a 3d 76 35 47 40 2d 55 00 4b 78 10 05 d8 55 87 21 8d bb 12 b6 d6 ab d7 4a 3a 51 10 37 06 14 45 55 ff 44 3c 13 a9 d5 40 af 32 41 14 83 21 96 6d d9 8d 1a 3d c1 fd e0 ...

output:

Both

result:

ok "Both"

Test #32:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

4e 7b 53 7b 44 2a 6d 2f 38 58 42 4a 33 52 4e 20 29 55 60 5b 65 55 3b 36 25 57 79 63 59 76 43 27 67 41 3a 59 6a 3b 72 26 4e 7b 71 50 76 6a 35 2a 37 47 2b 5e 5a 46 79 27 5d 6c 75 37 33 55 6b 32 20 2f 00 3a 11 dd bc d8 e1 3a 14 0a 01 57 a0 8d a7 0a 40 f0 fc 3c 06 17 9b 6c b9 ba 16 2a 53 e3 71 9d 84 74 ...

output:

C

result:

ok "C"

Test #33:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

27 64 54 47 38 7e 6e 78 4f 77 6b 42 56 39 40 29 69 41 53 45 38 61 3e 41 68 3f 70 7c 33 73 6b 4b 43 2d 67 75 3b 6c 2e 76 4e 48 7e 3d 66 29 2a 2d 5e 2d 39 40 29 26 26 3f 69 5a 7e 6b 58 41 25 38 23 4b 31 6c 69 78 4d 65 40 5d 58 30 31 25 64 73 37 6e 57 23 44 28 4d 2f 5d 3a 74 53 79 7d 4e 46 45 3e 33 6d ...

output:

Both

result:

ok "Both"

Test #34:

score: 0
Accepted
time: 1ms
memory: 3616kb

input:

78 64 22 7b 39 4e 7d 2a 4b 69 2f 63 36 6b 68 37 55 40 4d 4b 35 48 58 5a 3b 36 53 30 3b 52 21 6f 61 38 76 6e 6c 77 79 35 4e 53 29 62 2d 64 35 67 65 55 23 29 64 25 2a 43 2d 69 77 61 76 28 2c 66 69 5e 7c 26 27 79 71 2c 40 3f 27 55 5c 47 4e 74 75 7b 4b 2c 7b 5c 77 59 6f 3e 3f 47 68 27 42 79 51 35 56 64 ...

output:

Pascal

result:

ok "Pascal"

Test #35:

score: 0
Accepted
time: 1ms
memory: 3628kb

input:

d9 55 79 28 2b 61 49 33 5a 3b 20 36 2d 32 3c 48 7e 29 52 77 59 36 48 43 20 24 3c 60 69 31 5b 78 3e 51 2b 67 3c 49 61 5d 55 34 2c 60 2e 42 68 67 21 74 2c 20 3c 62 7d 2a 21 75 58 3c 64 6d 4c 7c 70 7c 7d 69 42 28 23 72 4c 2d 29 5d 54 39 2e 21 72 2f 67 2c 35 24 3b 7d 5f 25 26 6b 64 4f 36 7c 30 56 31 6f ...

output:

Pascal

result:

ok "Pascal"

Test #36:

score: 0
Accepted
time: 0ms
memory: 3612kb

input:

1b 39 6b 51 41 41 65 66 7a 24 5f 77 7f 6d 46 78 38 7f 5e 36 40 6e 3a 6e 28 62 24 53 00 83 10 e7 04 0d f1 12 27 66 de 7e 6e 9e ac 5b 7f d6 8d ad ab 5e 50 97 64 30 e1 7d 1f 26 4d 64 30 63 b5 ef f8 36 b2 07 2f f8 37 f7 88 40 48 ec 78 4f 7b a9 79 21 9a e5 1e b2 f0 15 b0 2a c1 15 0c 42 43 9f 44 a3 84 43 ...

output:

Pascal

result:

ok "Pascal"

Test #37:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

51 72 61 4a 5d 64 3d 77 7a 62 40 37 29 57 66 5f 5f 22 5f 37 68 74 2d 3c 40 76 48 7f 38 40 5d 63 57 43 6b 23 56 60 25 6a 63 2f 33 39 7f 59 30 44 20 7e 2d 75 30 70 2d 68 4b 56 27 2d 65 4a 28 2a 42 3c 4e 36 3c 4c 4d 5f 61 33 4e 45 73 5b 4b 7c 26 63 f5 00 44 b1 e6 47 e4 db 0e 08 32 81 4c 3c 58 5d 72 69 ...

output:

Pascal

result:

ok "Pascal"

Test #38:

score: 0
Accepted
time: 1ms
memory: 3884kb

input:

95 72 13 22 4b 81 e7 ce 93 7b ad fe 38 e9 15 38 74 e9 87 d2 78 ae 9d 78 ea fc a6 aa 62 ac 25 3b ec 2e 51 d3 89 02 93 6e ad 3e 0a db c2 0b 0a 3f a4 28 98 8f 24 66 f0 19 85 29 00 fc 02 ee ea ab 46 bf 86 6e f2 c0 dd e0 1a a6 af 72 c8 3b ee e7 78 dc 41 d6 9b fb 82 2c 14 9d 40 a7 bd dc 3e 5b e3 66 f2 31 ...

output:

None

result:

ok "None"

Test #39:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

bf 5a 9b 78 68 17 92 55 b1 5b 21 1a d2 37 5c 43 55 2f e6 fe 9c bc 7b ae 58 ca 68 69 13 3a 0e 7a a8 61 63 df c5 88 70 cb 70 6a d4 25 7f b8 3f 08 1e 98 f8 41 4d 22 58 d4 60 e2 4d 78 7d 59 d8 16 21 7c 8f 4e 9c 33 1b f1 90 db bb 88 76 c5 c0 cc 18 b5 0f 2c 18 63 a2 4a 68 fd 07 7e d0 a3 df 51 6c ea 60 03 ...

output:

None

result:

ok "None"

Test #40:

score: 0
Accepted
time: 1ms
memory: 3664kb

input:

a4 e6 b6 48 aa 31 f3 4e bf 9b 6b f5 39 ee 40 e0 a3 44 05 44 3c 8e 44 6a 75 0e f8 30 77 dd 13 89 9b 66 fa f8 ef e9 04 19 b8 f9 fe 19 ea fe a9 39 b2 b4 3b 4e ed aa da 44 ae c4 24 96 bc ba aa d8 11 97 70 2e 5c 3a 6f d2 80 d8 14 92 13 78 be 4f e0 76 43 7f 65 00 6c ab 56 9c 74 f2 18 a0 8d 84 47 b9 5b 29 ...

output:

None

result:

ok "None"

Test #41:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

fc 94 31 1c 00 ba f0 cb 42 ce 8b 10 82 aa 1b ad d4 9b 4e 18 1e e0 e5 fb 9d 2f 35 b6 60 31 aa dc cc 02 40 b2 16 b2 08 b3 cc c6 a9 0e 4d b7 dc 26 4c 71 ef 11 51 d6 43 1a 37 39 cf 40 af e3 9a b4 bc 92 44 5f 36 f5 7e 59 47 31 8d 73 f0 5f cb ae 85 0b 26 c2 2d b7 a0 98 63 56 cd d0 78 d1 58 3c 0e 86 7e 63 ...

output:

None

result:

ok "None"

Test #42:

score: 0
Accepted
time: 1ms
memory: 3828kb

input:

37 48 8f 5e 53 97 11 cd 1c 40 9f cd f4 60 36 a6 14 07 e8 d3 07 ba 5a 81 2d f3 46 14 39 9c fa a3 b4 98 d8 77 77 3b d4 90 35 cc f9 20 ef 0a e4 0d 7d a4 47 73 0c c0 68 20 9b 75 9f 17 7d 50 db 0e d9 d3 1e ef 2d f1 fc 5b c7 94 21 22 4b 18 c8 cc 30 cd 44 13 42 78 7b 67 22 d2 65 69 c1 08 92 70 e9 39 a1 07 ...

output:

None

result:

ok "None"

Extra Test:

score: 0
Extra Test Passed