/ Vijos /

记录详情

Compile Error

foo.cpp:6:41: error: expected ',' or '...' before '?' token
 bool judge(string s1,string s2,string s3?int n)  
                                         ^
foo.cpp: In function 'int main()':
foo.cpp:26:21: error: too many arguments to function 'bool judge(std::string, std::string, std::string)'
  if(judge(s1,s2,s3,n))
                     ^
foo.cpp:6:6: note: declared here
 bool judge(string s1,string s2,string s3?int n)  
      ^
foo.cpp:28:26: error: too many arguments to function 'bool judge(std::string, std::string, std::string)'
  else if(judge(s2,s1,s3,n))
                          ^
foo.cpp:6:6: note: declared here
 bool judge(string s1,string s2,string s3?int n)  
      ^
foo.cpp:30:26: error: too many arguments to function 'bool judge(std::string, std::string, std::string)'
  else if(judge(s3,s2,s1,n))
                          ^
foo.cpp:6:6: note: declared here
 bool judge(string s1,string s2,string s3?int n)  
      ^

信息

递交者
类型
递交
题目
P1449 字符串还原
语言
C++
递交时间
2016-08-19 14:06:43
评测时间
2016-08-19 14:06:44
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes