0_0_20060016_6639.cpp:1:2: error: invalid preprocessing directive #!
#!/usr/env python
^
0_0_20060016_6639.cpp:18:7: error: invalid preprocessing directive #os
# os.chdir(parentDirPath)
^
0_0_20060016_6639.cpp:55:7: error: invalid preprocessing directive #print
# print status_url
^
0_0_20060016_6639.cpp:64:7: error: invalid preprocessing directive #print
# print status_url
^
0_0_20060016_6639.cpp:78:1: error: empty character constant
'''
^
0_0_20060016_6639.cpp:77:5: error: missing terminating ' character
template = string.Template(\
^
0_0_20060016_6639.cpp:182:1: error: empty character constant
''')
^
0_0_20060016_6639.cpp:182:1: error: missing terminating ' character
0_0_20060016_6639.cpp:206:21: error: stray '##' in program
### find the correct char
^
0_0_20060016_6639.cpp:206:23: error: stray '#' in program
### find the correct char
^
0_0_20060016_6639.cpp:211:21: error: stray '##' in program
### find the last char
^
0_0_20060016_6639.cpp:211:23: error: stray '#' in program
### find the last char
^
0_0_20060016_6639.cpp:225:7: error: invalid preprocessing directive #user
# user = "Bombe16"
^
0_0_20060016_6639.cpp:226:7: error: invalid preprocessing directive #password
# password = "496528674"
^
0_0_20060016_6639.cpp:227:7: error: invalid preprocessing directive #initLog
# initLog();
^
0_0_20060016_6639.cpp:228:7: error: invalid preprocessing directive #logging
# logging.debug("acm submit begin...")
^
0_0_20060016_6639.cpp:229:7: error: invalid preprocessing directive #acmHdu_Login
# acmHdu_Login(user, password)
^
0_0_20060016_6639.cpp:230:7: error: invalid preprocessing directive #acmHdu_Submit
# acmHdu_Submit(CFS.pid, CFS.lang, CFS.code)
^
0_0_20060016_6639.cpp:231:7: error: invalid preprocessing directive #acmHdu_Status
# acmHdu_Status(user, CFS.pid, CFS.lang)
^
0_0_20060016_6639.cpp:232:7: error: invalid preprocessing directive #logging
# logging.debug("acm submit end...")
^
0_0_20060016_6639.cpp:3:1: error: 'import' does not name a type
import urllib2
^
0_0_20060016_6639.cpp:36:71: error: expected unqualified-id before ')' token
data = urllib.urlencode({"username":user, "userpass":password})
^
0_0_20060016_6639.cpp:46:80: error: expected unqualified-id before ')' token
data = urllib.urlencode({"problemid":pid, "language":lang, "usercode":code})
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/exception:162:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: field 'nullptr_t' has incomplete type 'std::__exception_ptr::exception_ptr'
exception_ptr(nullptr_t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: expected ';' at end of member declaration
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:32: error: expected unqualified-id before 'noexcept'
exception_ptr(nullptr_t) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:62:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
__is_null_pointer(std::nullptr_t)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:155:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
__is_null_pointer(_Type)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:21: error: 'nullptr_t' is not a member of 'std'
__is_null_pointer(std::nullptr_t)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:294:31: error: 'std::size_t' has not been declared
template<typename _Tp, std::size_t _Size>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
struct __is_null_pointer_helper<std::nullptr_t>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:51: error: template argument 1 is invalid
struct __is_null_pointer_helper<std::nullptr_t>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
: public integral_constant<std::size_t, __alignof__(_Tp)> { };
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note: 'size_t'
__MINGW_EXTENSION typedef unsigned __int64 size_t;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
: public integral_constant<std::size_t, __alignof__(_Tp)> { };
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_20060016_6639.cpp:80:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note: 'size_t'
__MINGW_EXTENSION typedef unsigned __int64 size_t;
|