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_39277652_25932.cpp: In function 'int main()':
0_0_39277652_25932.cpp:9:28: error: expected '}' before '{' token
    9 |     __int64 f[41][2]={{0,0}{1,2}};
      |                      ~     ^
0_0_39277652_25932.cpp:9:28: error: expected ',' or ';' before '{' token
0_0_39277652_25932.cpp: At global scope:
0_0_39277652_25932.cpp:10:5: error: expected unqualified-id before 'for'
   10 |     for(int i=2;i<41;i++)
      |     ^~~
0_0_39277652_25932.cpp:10:17: error: 'i' does not name a type
   10 |     for(int i=2;i<41;i++)
      |                 ^
0_0_39277652_25932.cpp:10:22: error: 'i' does not name a type
   10 |     for(int i=2;i<41;i++)
      |                      ^
0_0_39277652_25932.cpp:15:5: error: expected unqualified-id before 'while'
   15 |     while(scanf("%d",&n)!=EOF)
      |     ^~~~~
0_0_39277652_25932.cpp:19:5: error: expected unqualified-id before 'return'
   19 |     return 0;
      |     ^~~~~~
0_0_39277652_25932.cpp:20:1: error: expected declaration before '}' token
   20 | }
      | ^


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 01:22:04, Gzip enabled