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_32763737_21012.cpp: In function 'int main()':
0_0_32763737_21012.cpp:7:15: error: expected identifier before numeric constant
  s[0]=3,s[1]=[7]
               ^
0_0_32763737_21012.cpp: In lambda function:
0_0_32763737_21012.cpp:8:2: error: expected '{' before 'cin'
  cin>>n;
  ^
0_0_32763737_21012.cpp: In function 'int main()':
0_0_32763737_21012.cpp:7:13: error: invalid user-defined conversion from 'main()::<lambda()>' to 'long long int' [-fpermissive]
  s[0]=3,s[1]=[7]
             ^
0_0_32763737_21012.cpp:7:16: note: candidate is: main()::<lambda()>::operator void (*)()() const <near match>
  s[0]=3,s[1]=[7]
                ^
0_0_32763737_21012.cpp:7:16: note:   no known conversion from 'void (*)()' to 'long long int'
0_0_32763737_21012.cpp:8:2: error: expected ';' before 'cin'
  cin>>n;
  ^
0_0_32763737_21012.cpp:9:14: error: 'i' was not declared in this scope
  for(int n=0;i<n;i++)
              ^
0_0_32763737_21012.cpp:13:17: error: 'mlj' was not declared in this scope
   for(int j=1;j<mlj++)
                 ^
0_0_32763737_21012.cpp:13:22: error: expected ';' before ')' token
   for(int j=1;j<mlj++)
                      ^


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 05:46:11, Gzip enabled