Record Detail

Compile Error

/in/p1.cpp: In function 'bool comparePoints(Point, Point)':
/in/p1.cpp:66:34: error: conversion to 'double' from 'long long int' may alter its value [-Werror=conversion]
     if(approximately_equal(a.getY(), b.getY())){
                            ~~~~~~^~
/in/p1.cpp:66:44: error: conversion to 'double' from 'long long int' may alter its value [-Werror=conversion]
     if(approximately_equal(a.getY(), b.getY())){
                                      ~~~~~~^~
cc1plus: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 1
Language
C++
Submit At
2024-06-16 21:15:32
Judged At
2024-06-16 21:15:32
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes