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_28139624_11549.cpp:3:9: error: '__int64_t' does not name a type
 typedef __int64_t ll;
         ^
0_0_28139624_11549.cpp:4:8: error: 'll' does not name a type
 inline ll C(ll n, ll m){
        ^
0_0_28139624_11549.cpp: In function 'int main()':
0_0_28139624_11549.cpp:18:5: error: 'll' was not declared in this scope
     ll n, ans;
     ^
0_0_28139624_11549.cpp:19:27: error: 'n' was not declared in this scope
     while(~scanf("%lld", &n)){
                           ^
0_0_28139624_11549.cpp:20:9: error: 'ans' was not declared in this scope
         ans = 0;
         ^
0_0_28139624_11549.cpp:21:16: error: expected ';' before 'i'
         for(ll i = 2; i <= n; i++){
                ^
0_0_28139624_11549.cpp:21:23: error: 'i' was not declared in this scope
         for(ll i = 2; i <= n; i++){
                       ^
0_0_28139624_11549.cpp:22:36: error: 'C' was not declared in this scope
             ans += (i - 1) * C(n, i);
                                    ^


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-02 02:24:40, Gzip enabled