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_38684345_16391.cpp:26:6: error: 'f' does not name a type
   26 |      f[0] = inf[0] = 1;
      |      ^
0_0_38684345_16391.cpp:27:5: error: expected unqualified-id before 'for'
   27 |     for (int i = 1; i <= 1000; i++)
      |     ^~~
0_0_38684345_16391.cpp:27:21: error: 'i' does not name a type
   27 |     for (int i = 1; i <= 1000; i++)
      |                     ^
0_0_38684345_16391.cpp:27:32: error: 'i' does not name a type
   27 |     for (int i = 1; i <= 1000; i++)
      |                                ^
0_0_38684345_16391.cpp:31:5: error: 'inf' does not name a type; did you mean 'int'?
   31 |     inf[1000] = fpow(f[1000], mod - 2);
      |     ^~~
      |     int
0_0_38684345_16391.cpp:32:5: error: expected unqualified-id before 'for'
   32 |     for (int i = 1000 - 1; i >= 0; i--)
      |     ^~~
0_0_38684345_16391.cpp:32:28: error: 'i' does not name a type
   32 |     for (int i = 1000 - 1; i >= 0; i--)
      |                            ^
0_0_38684345_16391.cpp:32:36: error: 'i' does not name a type
   32 |     for (int i = 1000 - 1; i >= 0; i--)
      |                                    ^
0_0_38684345_16391.cpp:35:7: error: expected unqualified-id before ')' token
   35 |     }();
      |       ^


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-09-19 20:05:16, Gzip enabled