Проблем с качването на 3 (Bus) задача в Judge.
Здравейте, в Judge ми дава Compile Time Error и грешката по долу. Compiled file is missing. Compiler output: C:\Windows\TEMP\ExecutionStrategies\oao5dnru.0uf\tmp5C62.tmp.cpp: In function 'std::vector<int> transFormArrivingTimeToMinutes(std::vector<int>)': C:\Windows\TEMP\ExecutionStrategies\oao5dnru.0uf\tmp5C62.tmp.cpp:12:41: error: 'floor' was not declared in this scope if (floor(arrivingTimesBuses[i] / 1000) == 0) ^ C:\Windows\TEMP\ExecutionStrategies\oao5dnru.0uf\tmp5C62.tmp.cpp: In function 'int main()': C:\Windows\TEMP\ExecutionStrategies\oao5dnru.0uf\tmp5C62.tmp.cpp:44:37: error: 'floor' was not declared in this scope if (floor(trainDepartureTime / 1000) == 0) ^
Случвало ли се е и някой друг.
Здравей,
благодаря ти. С #include<cmath>, проработи.