Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
119777 吴诗涵 22破解密码 C++ Compile Error 0 MS 0 KB 369 2025-05-18 19:19:00

Tests(0/0):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ char a[100]; int c; cin>>a; c=strlen(a); for(i=0;i<c;i+=3){ cout<<a[i]; } cout<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:12:5: error: 'i' was not declared in this scope
 for(i=0;i