F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_13810539_11017.cpp: In function 'int g(int, int)':
0_0_13810539_11017.cpp:15:25: error: unable to find numeric literal operator 'operator""$amp'
       return sg[x][y] = 1$amp;
                         ^
0_0_13810539_11017.cpp:15:25: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13810539_11017.cpp:19:25: error: unable to find numeric literal operator 'operator""$amp'
       return sg[x][y] = 1$amp;
                         ^
0_0_13810539_11017.cpp:19:25: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13810539_11017.cpp:25:11: error: unable to find numeric literal operator 'operator""$amp'
       t = 1$amp;
           ^
0_0_13810539_11017.cpp:25:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13810539_11017.cpp:30:9: error: expected ';' before '$amp'
       x $amp;amp;$gt;= 1;
         ^
0_0_13810539_11017.cpp:30:14: error: 'amp' was not declared in this scope
       x $amp;amp;$gt;= 1;
              ^
0_0_13810539_11017.cpp:30:18: error: '$gt' was not declared in this scope
       x $amp;amp;$gt;= 1;
                  ^
0_0_13810539_11017.cpp:30:22: error: expected primary-expression before '=' token
       x $amp;amp;$gt;= 1;
                      ^
0_0_13810539_11017.cpp:31:9: error: expected ';' before '$amp'
       y $amp;amp;$gt;= 1;
         ^
0_0_13810539_11017.cpp:31:22: error: expected primary-expression before '=' token
       y $amp;amp;$gt;= 1;
                      ^
0_0_13810539_11017.cpp:32:9: error: expected ';' before '$amp'
       k $amp;
         ^
0_0_13810539_11017.cpp:39:11: error: unable to find numeric literal operator 'operator""$amp'
       t = 1$amp;
           ^
0_0_13810539_11017.cpp:39:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_13810539_11017.cpp:44:9: error: expected ';' before '$amp'
       x $amp;amp;$gt;= 1;
         ^
0_0_13810539_11017.cpp:44:14: error: 'amp' was not declared in this scope
       x $amp;amp;$gt;= 1;
              ^
0_0_13810539_11017.cpp:44:18: error: '$gt' was not declared in this scope
       x $amp;amp;$gt;= 1;
                  ^
0_0_13810539_11017.cpp:44:22: error: expected primary-expression before '=' token
       x $amp;amp;$gt;= 1;
                      ^
0_0_13810539_11017.cpp:45:9: error: expected ';' before '$amp'
       y $amp;amp;$gt;= 1;
         ^
0_0_13810539_11017.cpp:45:22: error: expected primary-expression before '=' token
       y $amp;amp;$gt;= 1;
                      ^
0_0_13810539_11017.cpp:46:9: error: expected ';' before '$amp'
       k $amp;
         ^
0_0_13810539_11017.cpp: In function 'int f(int, int)':
0_0_13810539_11017.cpp:56:28: error: 'i$amp' was not declared in this scope
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                            ^
0_0_13810539_11017.cpp:56:33: error: expected ')' before ';' token
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                                 ^
0_0_13810539_11017.cpp:56:34: error: 'amp' was not declared in this scope
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                                  ^
0_0_13810539_11017.cpp:56:38: error: '$gt' was not declared in this scope
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                                      ^
0_0_13810539_11017.cpp:56:42: error: expected primary-expression before '=' token
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                                          ^
0_0_13810539_11017.cpp:56:45: error: 'a' was not declared in this scope
    for(int i = x,a = 0; i; i$amp;amp;$gt;=1,a++)//完成(将x和y分解后)按分配律计算其积
                                             ^
0_0_13810539_11017.cpp: In function 'int main()':
0_0_13810539_11017.cpp:83:18: error: expected ')' before string constant
       puts(ans   "Have a try, lxhgww." : "Don't waste your time.");
                  ^
0_0_13810539_11017.cpp:83:66: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
       puts(ans   "Have a try, lxhgww." : "Don't waste your time.");
                                                                  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/locale.h:12:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/clocale:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/localefwd.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:41,
                 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_13810539_11017.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdio.h:504:15: note: initializing argument 1 of 'int puts(const char*)'
   int __cdecl puts(const char *_Str);
               ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 17:27:39, Gzip enabled