Submission #2705934
Source Code Expand
#include <iostream> #include <string> using namespace std; int main(void){ string a; cin>>a; cout<<a.front()<<a.size()-=2<<a.back()<<endl; return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - i18n |
User | shomaejiri |
Language | C++14 (GCC 5.4.1) |
Score | 0 |
Code Size | 182 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:7:45: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator<<’ cout<<a.front()<<a.size()-=2<<a.back()<<endl; ^