| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 82134 | sh25_shenpy | 表达式括号匹配 | C++ | 运行超时 | 1000 MS | 244 KB | 261 | 2026-01-10 17:31:42 |
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; int i=0,j=0,k=0; while(s[i]!='@'){ if(s[i]=='(') ++j; if(s[i]==')') ++k; } if(j==k) cout<<"YES"; else cout<<"NO"; return 0; }