Submission #5028182


Source Code Expand

√#include <iostream>
#include <string>
#include <cstring>
#include <cmath>
#include <cstdio>
#include <algorithm>
using namespace std;
#define ll long long
int main (){
    string a;
    cin >> a;
    a[3] = '8';
    cout << a << endl;
    return 0;
}

Submission Info

Submission Time
Task A - Already 2018
User Apple_Boy
Language C++14 (GCC 5.4.1)
Score 0
Code Size 269 Byte
Status CE

Compile Error

./Main.cpp:1:1: error: stray ‘\342’ in program
 √#include <iostream>
 ^
./Main.cpp:1:1: error: stray ‘\210’ in program
./Main.cpp:1:1: error: stray ‘\232’ in program
./Main.cpp:1:4: error: stray ‘#’ in program
 √#include <iostream>
    ^
./Main.cpp:1:5: error: ‘include’ does not name a type
 √#include <iostream>
     ^
In file included from /usr/include/c++/5/bits/stl_algobase.h:62:0,
                 from /usr/include/c++/5/bits/char_traits.h:39,
                 from /usr/include/c++/5/string:40,
                 from ./Main.cpp:2:
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘__gnu_cxx::__is_null_pointer’ declared as an ‘inline’ variable
   __is_null_pointer(std::nullptr_t)
                                   ^
/usr/include/c++/5/ext/type_traits.h:160:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol
/usr/include/c++/5/ext/type_traits.h:155:5: note: previous declaration ‘template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)’
     __is_null_pointer(_Type...