Borderou de evaluare (job #311461)

Utilizator avatar isa_mirica_mihai Mirica Matei Mihai isa_mirica_mihai IP ascuns
Problemă Squares Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 30 aug. 2017 01:41:08 Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘bool punctpeSegment(Punct, Punct, Punct)’: user.cpp:52:78: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] user.cpp:52:156: warning: suggest parentheses around comparison in operand of ‘==’ [-Wparentheses] user.cpp: In function ‘bool inPoligon(Punct, std::vector<Punct>)’: user.cpp:80:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:84:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘std::vector<Punct> intersectie(std::vector<Punct>, std::vector<Punct>)’: user.cpp:92:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:95:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:111:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:112:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp: In function ‘int main()’: user.cpp:170:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] user.cpp:124:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:125:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:127:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:130:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:123:5: warning: ‘last’ may be used uninitialized in this function [-Wuninitialized]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 0 ms 328 kb OK 5
2 8 ms 332 kb OK 5
3 0 ms 332 kb OK 5
4 0 ms 328 kb OK 5
5 0 ms 328 kb OK 5
6 0 ms 328 kb OK 5
7 0 ms 328 kb OK 5
8 0 ms 324 kb OK 5
9 0 ms 332 kb OK 5
10 4 ms 328 kb OK 5
11 4 ms 332 kb OK 5
12 4 ms 332 kb OK 5
13 0 ms 324 kb OK 5
14 0 ms 328 kb OK 5
15 0 ms 324 kb OK 5
16 0 ms 324 kb OK 5
17 4 ms 332 kb OK 5
18 0 ms 332 kb OK 5
19 0 ms 328 kb OK 5
20 0 ms 328 kb OK 5
Punctaj total 100