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_34106925_18505.cpp: In function 'int main()':
0_0_34106925_18505.cpp:37:21: error: expected ')' before 'p'
      tt+=(mp[abs(i)]p[a-mbs(p-i)])*abs(i);
                     ^
0_0_34106925_18505.cpp:39:5: error: expected '}' before 'else'
     else ica+=(mp[abs(i)]-mp[abs(p-i)]);
     ^
0_0_34106925_18505.cpp:39:10: error: 'ica' was not declared in this scope
     else ica+=(mp[abs(i)]-mp[abs(p-i)]);
          ^
0_0_34106925_18505.cpp:40:31: error: 'f' was not declared in this scope
     }f(mp[abs(i)]<mp[abs(p-i)]){
                               ^
0_0_34106925_18505.cpp:46:6: error: 'tt' was not declared in this scope
   if(tt){
      ^
0_0_34106925_18505.cpp:47:4: error: 'ans' was not declared in this scope
    ans+=ca-1;ans+=(tt/p-1);
    ^
0_0_34106925_18505.cpp:47:9: error: 'ca' was not declared in this scope
    ans+=ca-1;ans+=(tt/p-1);
         ^
0_0_34106925_18505.cpp:47:23: error: 'p' was not declared in this scope
    ans+=ca-1;ans+=(tt/p-1);
                       ^
0_0_34106925_18505.cpp:49:31: error: 'ans' was not declared in this scope
   cout<<"Case #"<<step<<": "<<ans<<"\n";
                               ^
0_0_34106925_18505.cpp: At global scope:
0_0_34106925_18505.cpp:51:2: error: expected unqualified-id before 'return'
  return  0;
  ^
0_0_34106925_18505.cpp:52:1: error: expected declaration before '}' token
 }
 ^


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-10 07:53:39, Gzip enabled