Borderou de evaluare (job #687540)

Utilizator avatar vasia_sirioja dsdsdarewrewrewdasdas vasia_sirioja IP ascuns
Problemă Skyline (clasa a 7-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 15 ian. 2023 15:37:57 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:39:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<block>::size_type' {aka 'unsigned int'} [-Wsign-compare] 39 | for(int i = 0; i < skylines.size(); i++){ | ~~^~~~~~~~~~~~~~~~~ main.cpp:51:29: warning: integer overflow in expression of type 'long int' results in '-2' [-Woverflow] 51 | ll min_h = LONG_MAX + LONG_MAX; | ^ main.cpp:26:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 26 | std::freopen("skyline.in" , "r", stdin); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:27:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 27 | std::freopen("skyline.out" , "w", stdout); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Incorect 0
2 1 ms 114 kb Incorect 0
3 29 ms 442 kb Incorect 0
4 31 ms 577 kb Incorect 0
5 107 ms 1028 kb Time limit exceeded 0
6 109 ms 1032 kb Time limit exceeded 0
7 106 ms 1163 kb Time limit exceeded 0
8 102 ms 1028 kb Time limit exceeded 0
9 104 ms 1028 kb Time limit exceeded 0
10 106 ms 1024 kb Time limit exceeded 0
Punctaj total 0