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_36100140_12043.cpp: In function 'void dfs(int, int)':
0_0_36100140_12043.cpp:16:22: error: too many arguments to function 'void dfs(int, int)'
  dfs(t+1,k+a[t], a[t]); 
                      ^
0_0_36100140_12043.cpp:11:6: note: declared here
 void dfs(int k, int t){
      ^
0_0_36100140_12043.cpp:18:22: error: too many arguments to function 'void dfs(int, int)'
  dfs(t+1,k*a[t], a[t]);
                      ^
0_0_36100140_12043.cpp:11:6: note: declared here
 void dfs(int k, int t){
      ^
0_0_36100140_12043.cpp:19:22: error: too many arguments to function 'void dfs(int, int)'
  dfs(t+1,k-a[t], a[t]);
                      ^
0_0_36100140_12043.cpp:11:6: note: declared here
 void dfs(int k, int t){
      ^
0_0_36100140_12043.cpp:21:24: error: too many arguments to function 'void dfs(int, int)'
   dfs(t+1, k/a[t], a[t]);
                        ^
0_0_36100140_12043.cpp:11:6: note: declared here
 void dfs(int k, int t){
      ^
0_0_36100140_12043.cpp: In function 'int main()':
0_0_36100140_12043.cpp:41:21: error: too many arguments to function 'void dfs(int, int)'
    dfs(1, a[0], a[1]);
                     ^
0_0_36100140_12043.cpp:11:6: note: declared here
 void dfs(int k, int t){
      ^


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-07-01 12:19:11, Gzip enabled