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_20037829_27461.cpp:5:8: error: expected identifier before numeric constant
 int c=[120],tend[120],num[120],tempc[120],
        ^
0_0_20037829_27461.cpp: In lambda function:
0_0_20037829_27461.cpp:5:12: error: expected '{' before ',' token
 int c=[120],tend[120],num[120],tempc[120],
            ^
0_0_20037829_27461.cpp: At global scope:
0_0_20037829_27461.cpp:5:12: error: invalid user-defined conversion from '<lambda()>' to 'int' [-fpermissive]
0_0_20037829_27461.cpp:5:11: note: candidate is: <lambda()>::operator void (*)()() const <near match>
 int c=[120],tend[120],num[120],tempc[120],
           ^
0_0_20037829_27461.cpp:5:11: note:   no known conversion from 'void (*)()' to 'int'
0_0_20037829_27461.cpp:6:1: error: expected unqualified-id before 'int'
 int main(int argc, char *argv[])
 ^


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 06:21:01, Gzip enabled