Record Detail

Compile Error

In file included from /in/driver/main.cpp:1:0:
/in/shortestP2P.hpp: In member function 'void ShortestP2P::printf()':
/in/shortestP2P.hpp:106:39: error: conversion to 'unsigned int' from 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' may alter its value [-Werror=conversion]
         unsigned row = this->Flod.size();
                        ~~~~~~~~~~~~~~~^~
/in/shortestP2P.hpp:107:42: error: conversion to 'unsigned int' from 'std::vector<int>::size_type {aka long unsigned int}' may alter its value [-Werror=conversion]
         unsigned col = this->Flod[0].size();
                        ~~~~~~~~~~~~~~~~~~^~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 4
Language
C++
Submit At
2024-12-12 20:25:18
Judged At
2024-12-12 20:25:18
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes