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