/ Vijos /

记录详情

Compile Error

foo.cpp:11:15: error: 'b' has not been declared
 int max(int a,b)
               ^
foo.cpp: In function 'int max(int, int)':
foo.cpp:13:10: error: 'b' was not declared in this scope
     if(a>b)
          ^
foo.cpp:15:12: error: 'b' was not declared in this scope
     return b;
            ^
foo.cpp: In function 'int mian()':
foo.cpp:36:13: warning: unused variable 'machine' [-Wunused-variable]
         int machine=way[which][step];
             ^
foo.cpp: In function 'int max(int, int)':
foo.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

信息

递交者
类型
递交
题目
P1314 作业调度方案
语言
C++
递交时间
2014-06-16 16:11:45
评测时间
2014-06-16 16:11:46
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes