Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
131960 周荣浩 22破解密码 C++ Compile Error 0 MS 0 KB 164 2025-10-02 14:03:02

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; string s; int main(){ cin>>a; int n=s.size(); for(int i=1;i<=n;i+=3){ cout<<s[i]; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:7: error: 'a' was not declared in this scope
  cin>>a;
       ^