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_20431924_16900.cpp:20:5: error: missing terminating " character
     cout << "--------------------------------------------------------------------------------
     ^
0_0_20431924_16900.cpp:21:1: error: missing terminating " character
 " << endl;
 ^
0_0_20431924_16900.cpp:24:5: error: missing terminating " character
     cout << endl << "--------------------------------------------------------------------------------
     ^
0_0_20431924_16900.cpp:25:1: error: missing terminating " character
 " << endl;
 ^
0_0_20431924_16900.cpp: In function 'int main()':
0_0_20431924_16900.cpp:22:4: error: expected primary-expression before '}' token
    }
    ^
0_0_20431924_16900.cpp:26:6: error: no match for 'operator=' (operand types are 'std::basic_ostream<char>' and 'int')
    l = 0;
      ^
0_0_20431924_16900.cpp:26:6: note: candidate is:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
                 from 0_0_20431924_16900.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:58:11: note: std::basic_ostream<char>& std::basic_ostream<char>::operator=(const std::basic_ostream<char>&) <deleted>
     class basic_ostream : virtual public basic_ios<_CharT, _Traits>
           ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:58:11: note:   no known conversion for argument 1 from 'int' to 'const std::basic_ostream<char>&'


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-17 23:53:12, Gzip enabled