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_37828517_3445.cpp: In function 'Z solve(i64)':
0_0_37828517_3445.cpp:99:9: error: missing template arguments before 'f'
  vector f(n+1,vector<Z>(2));
         ^
0_0_37828517_3445.cpp:101:3: error: 'f' was not declared in this scope
   f[i==d][0]+=1;
   ^
0_0_37828517_3445.cpp:102:2: error: 'f' was not declared in this scope
  f[b[n]==d][1]+=1;
  ^
0_0_37828517_3445.cpp:104:10: error: missing template arguments before 'nf'
   vector nf(n+1,vector<Z>(2));
          ^
0_0_37828517_3445.cpp:106:4: error: 'nf' was not declared in this scope
    nf[j==d][0]+=1;
    ^
0_0_37828517_3445.cpp:111:6: error: 'nf' was not declared in this scope
      nf[k+t][l&(j==b[i])]+=f[k][l];
      ^
0_0_37828517_3445.cpp:113:10: error: 'nf' was not declared in this scope
   f.swap(nf);
          ^


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-23 04:00:21, Gzip enabled