Record Detail

Compile Error

/in/p1.cpp: In function 'std::vector<Point> graham_scan(std::vector<Point>&)':
/in/p1.cpp:36:24: error: conversion to 'int' from 'std::vector<Point>::size_type {aka long unsigned int}' may alter its value [-Werror=conversion]
     int n = points.size();
             ~~~~~~~~~~~^~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 1
Language
C++
Submit At
2024-10-19 17:36:05
Judged At
2024-11-13 09:56:06
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes