Borderou de evaluare (job #679188)

Utilizator avatar TeodoraMaria Serban Teodora Maria TeodoraMaria IP ascuns
Problemă Fazan (clasele 11-12) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 dec. 2022 02:06:55 Scor 70

Raport evaluator

Compilare: main.cpp: In function 'String makePrefix(int)': main.cpp:38:14: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 38 | t.s[2] = NULL; | ^~~~ main.cpp: In function 'String makeSuffix(int)': main.cpp:48:14: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null] 48 | t.s[2] = NULL; | ^~~~ main.cpp: In function 'bool isEulerPath()': main.cpp:116:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<String>::size_type' {aka 'unsigned int'} [-Wsign-compare] 116 | if(nodesNo != nodes.size()) | ~~~~~~~~^~~~~~~~~~~~~~~ main.cpp:119:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<String>::size_type' {aka 'unsigned int'} [-Wsign-compare] 119 | for(int i = 0; i < nodes.size() && differentNodes <= 2; i ++) | ~~^~~~~~~~~~~~~~ main.cpp:121:24: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 121 | if(inDegree[i] != graph[i].size()) main.cpp:123:32: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 123 | if(inDegree[i] + 1 == graph[i].size()) main.cpp:128:33: warning: comparison of integer expressions of different signedness: '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} and 'std::vector<std::pair<int, int> >::size_type' {aka 'unsigned int'} [-Wsign-compare] 128 | else if(inDegree[i] == graph[i].size() + 1) main.cpp: In function 'int BinarySearch(String)': main.cpp:78:1: warning: control reaches end of non-void function [-Wreturn-type] 78 | } | ^ main.cpp: In function 'int main()': main.cpp:199:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | freopen("fazan.in", "r", stdin); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:200:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | freopen("fazan.out", "w", stdout); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 241 kb OK 5 10
2 1 ms 114 kb OK 5
3 1 ms 241 kb OK 5 10
4 1 ms 241 kb OK 5
5 1 ms 114 kb OK 5 10
6 1 ms 241 kb OK 5
7 1 ms 114 kb OK 5 0
8 1 ms 114 kb Fișier de ieșire prea scurt 0
9 1 ms 241 kb OK 5 0
10 1 ms 114 kb Fișier de ieșire prea scurt 0
11 1 ms 245 kb OK 5 5
12 1 ms 237 kb OK 5 5
13 1 ms 249 kb OK 5 5
14 32 ms 978 kb OK 5 5
15 77 ms 2048 kb OK 5 5
16 151 ms 3526 kb OK 5 5
17 185 ms 3878 kb OK 5 5
18 168 ms 4276 kb OK 5 5
19 204 ms 4829 kb Time limit exceeded 0 0
20 201 ms 5230 kb Time limit exceeded 0 0
Punctaj total 70