Borderou de evaluare (job #812379)

Utilizator avatar DeakDarius HackerPrime DeakDarius IP ascuns
Problemă Vecine (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 3 mar. 2025 12:28:23 Scor 26

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 18 | if(x-xant == 1 ) | ^~ main.cpp:20:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 20 | v.push_back(x); | ^ main.cpp:28:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 28 | for(int i = 0 ; i < v.size(); i ++ ){ | ~~^~~~~~~~~~ main.cpp:29:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'unsigned int'} [-Wsign-compare] 29 | for(int j = i + 1 ; j < v.size() ; j ++ ) | ~~^~~~~~~~~~ main.cpp:12:40: warning: unused variable 'st' [-Wunused-variable] 12 | int n , x , xant , pair = 0 , c , st[1000001] , dr[1000001] , mx=-1 ; | ^~ main.cpp:12:54: warning: unused variable 'dr' [-Wunused-variable] 12 | int n , x , xant , pair = 0 , c , st[1000001] , dr[1000001] , mx=-1 ; | ^~ main.cpp:46:34: warning: 'elem' may be used uninitialized [-Wmaybe-uninitialized] 46 | if(mx<elem) | ^~ main.cpp:33:59: note: 'elem' was declared here 33 | long long R = 0 , R2 = 0 , elem ; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 2
2 2 ms 507 kb OK 2
3 1 ms 245 kb OK 2
4 1 ms 245 kb OK 2
5 1 ms 245 kb OK 2
6 1 ms 245 kb OK 2
7 1 ms 512 kb OK 2
8 9 ms 512 kb OK 2
9 19 ms 901 kb OK 2
10 29 ms 905 kb OK 2
11 1 ms 245 kb OK 3
12 1 ms 507 kb OK 3
13 1 ms 245 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 9 ms 245 kb Incorect 0
16 49 ms 249 kb Incorect 0
17 69 ms 249 kb Incorect 0
18 109 ms 512 kb Time limit exceeded 0
19 109 ms 249 kb Time limit exceeded 0
20 109 ms 512 kb Time limit exceeded 0
21 109 ms 774 kb Time limit exceeded 0
22 109 ms 774 kb Time limit exceeded 0
23 109 ms 638 kb Time limit exceeded 0
24 109 ms 634 kb Time limit exceeded 0
25 109 ms 638 kb Time limit exceeded 0
26 109 ms 634 kb Time limit exceeded 0
27 1 ms 245 kb Incorect 0
28 103 ms 380 kb Time limit exceeded 0
Punctaj total 26