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_16822359_19747.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822359_19747.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822359_19747.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822359_19747.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_16822359_19747.cpp: In function 'void getSG(int)':
0_0_16822359_19747.cpp:12:24: error: 'memset' was not declared in this scope
  memset(sg,0,sizeof(sg)) ;
                        ^
0_0_16822359_19747.cpp:14:2: error: expected ';' before '{' token
  {
  ^
0_0_16822359_19747.cpp:14:2: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:14:2: error: expected ')' before '{' token
0_0_16822359_19747.cpp:17:3: error: expected ';' before '{' token
   {
   ^
0_0_16822359_19747.cpp:17:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:17:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp:18:13: error: lvalue required as left operand of assignment
    if(i-s[j]=0)
             ^
0_0_16822359_19747.cpp:24:3: error: expected ';' before '{' token
   {
   ^
0_0_16822359_19747.cpp:24:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:24:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp: In function 'int main()':
0_0_16822359_19747.cpp:36:22: error: 'scanf' was not declared in this scope
  while(~scanf("%d",&k) && k)
                      ^
0_0_16822359_19747.cpp:39:3: error: expected ';' before '{' token
   {
   ^
0_0_16822359_19747.cpp:39:3: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:39:3: error: expected ')' before '{' token
0_0_16822359_19747.cpp:45:3: error: 'string' was not declared in this scope
   string ans ;
   ^
0_0_16822359_19747.cpp:51:4: error: expected ';' before '{' token
    {
    ^
0_0_16822359_19747.cpp:51:4: error: expected primary-expression before '{' token
0_0_16822359_19747.cpp:51:4: error: expected ')' before '{' token
0_0_16822359_19747.cpp:57:5: error: 'ans' was not declared in this scope
     ans += "L";
     ^
0_0_16822359_19747.cpp:61:5: error: 'ans' was not declared in this scope
     ans += "W";
     ^
0_0_16822359_19747.cpp:64:3: error: 'cout' was not declared in this scope
   cout
   ^


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-26 11:55:39, Gzip enabled