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_30427757_6535.cpp: In function '__int128 cf(__int128, __int128, __int128)':
0_0_30427757_6535.cpp:2:16: error: '__int' was not declared in this scope
 #define int128 __int
                ^
0_0_30427757_6535.cpp:38:5: note: in expansion of macro 'int128'
     int128 s1=n*n*n*b+(n-1)*n*n*a;
     ^
0_0_30427757_6535.cpp:41:16: error: 's1' was not declared in this scope
         return s1;
                ^
0_0_30427757_6535.cpp:43:12: error: expected ';' before 's2'
     int128 s2=18*(n/2)*(n/2)*a+7*cf(n/2, a, b);
            ^
0_0_30427757_6535.cpp:45:16: error: 's1' was not declared in this scope
     return min(s1, s2);
                ^
0_0_30427757_6535.cpp:45:20: error: 's2' was not declared in this scope
     return min(s1, s2);
                    ^


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-12-02 10:20:08, Gzip enabled