Mã chấm: 268450
Main.cc:1:1: error: stray ‘\’ in program \#include ^ Main.cc:1:2: error: stray ‘#’ in program \#include ^ Main.cc:1:3: error: ‘include’ does not name a type \#include ^~~~~~~ In file included from /usr/include/c++/7/cmath:43:0, from Main.cc:2: /usr/include/c++/7/ext/type_traits.h:162:35: error: ‘bool __gnu_cxx::__is_null_pointer’ redeclared as different kind of symbol __is_null_pointer(std::nullptr_t) ^ /usr/include/c++/7/ext/type_traits.h:157:5: note: previous declaration ‘template bool __gnu_cxx::__is_null_pointer(_Type)’ __is_null_pointer(_Type) ^~~~~~~~~~~~~~~~~ /usr/include/c++/7/ext/type_traits.h:162:26: error: ‘nullptr_t’ is not a member of ‘std’ __is_null_pointer(std::nullptr_t) ^~~~~~~~~ Main.cc: In function ‘int main()’: Main.cc:7:9: error: ‘cin’ was not declared in this scope cin>>t; ^~~ Main.cc:7:9: note: suggested alternative: ‘sin’ cin>>t; ^~~ sin Main.cc:13:13: error: ‘cin’ was not declared in this scope cin>>a[i]; ^~~ Main.cc:13:13: note: suggested alternative: ‘sin’ cin>>a[i]; ^~~ sin Main.cc:21:17: error: ‘cout’ was not declared in this scope cout<<"YES"<