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_35717330_22706.cpp: In function 'll F(ll, ll, ll)':
0_0_35717330_22706.cpp:50:11: error: expected ';' before '}' token
  13       }
           ^
0_0_35717330_22706.cpp:51:20: error: redeclaration of 'll ans'
                 ll ans=0;
                    ^
0_0_35717330_22706.cpp:46:4: note: 'll ans' previously declared here
 ll ans=0;
    ^
0_0_35717330_22706.cpp: At global scope:
0_0_35717330_22706.cpp:55:9: error: expected unqualified-id before 'if'
         if(m == 1) {
         ^
0_0_35717330_22706.cpp:58:9: error: expected unqualified-id before 'for'
         for(ll g = 1; g <= n; ++ g) if(n % g == 0) {
         ^
0_0_35717330_22706.cpp:58:23: error: 'g' does not name a type
         for(ll g = 1; g <= n; ++ g) if(n % g == 0) {
                       ^
0_0_35717330_22706.cpp:58:31: error: expected unqualified-id before '++' token
         for(ll g = 1; g <= n; ++ g) if(n % g == 0) {
                               ^


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-06-26 20:40:29, Gzip enabled