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_29548177_28932.cpp:4:1: error: 'ull' does not name a type
 ull k[105];
 ^
0_0_29548177_28932.cpp:6:2: error: 'ull' does not name a type
  ull num;
  ^
0_0_29548177_28932.cpp:7:2: error: 'ull' does not name a type
  ull val;
  ^
0_0_29548177_28932.cpp: In function 'int main()':
0_0_29548177_28932.cpp:12:3: error: 'ull' was not declared in this scope
   ull ans=0;
   ^
0_0_29548177_28932.cpp:14:18: error: 'k' was not declared in this scope
    scanf("%lld",&k[i]);
                  ^
0_0_29548177_28932.cpp:18:14: error: 'struct kk' has no member named 'num'
     dp[i][j].num=0;
              ^
0_0_29548177_28932.cpp:22:13: error: 'struct kk' has no member named 'num'
    dp[i][1].num=0;
             ^
0_0_29548177_28932.cpp:23:13: error: 'struct kk' has no member named 'val'
    dp[i][1].val=k[i];
             ^
0_0_29548177_28932.cpp:23:17: error: 'k' was not declared in this scope
    dp[i][1].val=k[i];
                 ^
0_0_29548177_28932.cpp:28:9: error: 'k' was not declared in this scope
      if(k[i]>dp[w][j-1].val){
         ^
0_0_29548177_28932.cpp:28:25: error: 'struct kk' has no member named 'val'
      if(k[i]>dp[w][j-1].val){
                         ^
0_0_29548177_28932.cpp:29:24: error: 'struct kk' has no member named 'num'
       if(j==2)dp[i][j].num+=1;
                        ^
0_0_29548177_28932.cpp:30:21: error: 'struct kk' has no member named 'num'
       else dp[i][j].num+=dp[w][j-1].num;
                     ^
0_0_29548177_28932.cpp:30:37: error: 'struct kk' has no member named 'num'
       else dp[i][j].num+=dp[w][j-1].num;
                                     ^
0_0_29548177_28932.cpp:31:16: error: 'struct kk' has no member named 'val'
       dp[i][j].val=k[i];
                ^
0_0_29548177_28932.cpp:39:5: error: 'ans' was not declared in this scope
     ans+=dp[i][j].num;
     ^
0_0_29548177_28932.cpp:39:19: error: 'struct kk' has no member named 'num'
     ans+=dp[i][j].num;
                   ^
0_0_29548177_28932.cpp:42:19: error: 'ans' was not declared in this scope
   printf("%lld\n",ans);
                   ^


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-26 18:58:05, Gzip enabled