# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1176220 | sofija6 | Homework (CEOI22_homework) | C++20 | 961 ms | 589824 KiB |
#include <bits/stdc++.h>
#define ll long long
using namespace std;
ll ans=1;
void Solve(string s)
{
ll t=0;
if (s[1]=='a')
t=1;
string arg0="",arg1="";
ll pos=4,cnt=0;
while (pos<s.size())
{
if (s[pos]=='(')
cnt++;
else if (s[pos]==')')
cnt--;
if (!cnt && s[pos]==',')
{
pos++;
break;
}
arg0+=s[pos++];
}
while (pos<s.size()-1)
arg1+=s[pos++];
ll t0=0,t1=0;
if (arg0.size()!=1 && arg0[1]=='a')
t0=1;
if (arg1.size()!=1 && arg1[1]=='a')
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |