| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 129446 | 常钰杰 | 06输出日期 | C++ | Compile Error | 0 MS | 0 KB | 349 | 2025-08-25 16:53:05 |
#include<bits/stdc++.h> using namespace std; int main() { string s; cin>>str; if(s.size == 9) { cout << s[8] << s[7] << s[0] << s[1] << s[2] << s[3] << s[4] << s[5] << s[6]; } else { cout << s[8] << s[9] << s[7] << s[0] << s[1] << s[2] << s[3] << s[4] << s[5] << s[6]; } return 0; }
Main.cc: In function 'int main()':
Main.cc:6:10: error: 'str' was not declared in this scope
cin>>str;
^
Main.cc:7:18: error: invalid use of member function (did you forget the '()' ?)
if(s.size == 9)
^