Borderou de evaluare (job #2875113)

Utilizator traiandobrinDobrin Traian traiandobrin Data 20 martie 2022 23:36:07
Problema Formulaone Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int32_t main()': main.cpp:97:50: warning: narrowing conversion of 'x1' from 'double' to 'long long int' [-Wnarrowing] 97 | v.push_back({i,j,x1}); | ^~ main.cpp:99:52: warning: narrowing conversion of '(x1 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 99 | v.push_back({i,j,x1+1}); | ~~^~ main.cpp:95:27: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 95 | if(x1>0) | ^ main.cpp:103:44: warning: narrowing conversion of '(x1 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 103 | v.push_back({j,i,x1+1}); | ~~^~ main.cpp:108:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 108 | if(x1>x2) | ^~ main.cpp:110:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 110 | if((int)(x1)==(int)(x2)) | ^~ main.cpp:117:46: warning: narrowing conversion of 'x1' from 'double' to 'long long int' [-Wnarrowing] 117 | v.push_back({i,j,x1}); | ^~ main.cpp:118:48: warning: narrowing conversion of '(x1 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 118 | v.push_back({j,i,x1+1}); | ~~^~ main.cpp:127:40: warning: narrowing conversion of '(x1 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 127 | v.push_back({j,i,x1+1}); | ~~^~ main.cpp:132:42: warning: narrowing conversion of 'x1' from 'double' to 'long long int' [-Wnarrowing] 132 | v.push_back({i,j,x1}); | ^~ main.cpp:134:44: warning: narrowing conversion of '(x1 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 134 | v.push_back({i,j,x1+1}); | ~~^~ main.cpp:142:42: warning: narrowing conversion of 'x2' from 'double' to 'long long int' [-Wnarrowing] 142 | v.push_back({i,j,x2}); | ^~ main.cpp:144:44: warning: narrowing conversion of '(x2 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 144 | v.push_back({i,j,x2+1}); | ~~^~ main.cpp:148:40: warning: narrowing conversion of '(x2 + (double)1)' from 'double' to 'long long int' [-Wnarrowing] 148 | v.push_back({j,i,x2+1}); | ~~^~ main.cpp:164:18: warning: variable 'gi' set but not used [-Wunused-but-set-variable] 164 | {surpass gi=v[p1]; | ^~ main.cpp:156:19: warning: unused variable 'lasttime' [-Wunused-variable] 156 | int p1=0,p2=1,lasttime=0,siz=v.size(); | ^~~~~~~~ main.cpp:178:31: warning: 'who' may be used uninitialized in this function [-Wmaybe-uninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1159ms7041kbIncorect00
2164ms7090kbIncorect0
3163ms7102kbIncorect0
4159ms7053kbIncorect0
5164ms7090kbOK3
6159ms7045kbOK3
7159ms7045kbOK3
8164ms7098kbOK3
9517ms28696kbIncorect00
10985ms53911kbIncorect0
11782ms56016kbIncorect0
12981ms56012kbIncorect0
131062ms56012kbIncorect0
141120ms56012kbIncorect0
151151ms56016kbIncorect0
161208ms56012kbIncorect0
171219ms56016kbIncorect0
181015ms32718kbIncorect00
191511ms57933kbIncorect0
201170ms57937kbIncorect0
211371ms57933kbIncorect0
221456ms57933kbIncorect0
231490ms57933kbIncorect0
241538ms57933kbIncorect0
251598ms57937kbIncorect0
261604ms57933kbIncorect0
271528ms57933kbIncorect0
281421ms57937kbIncorect0
291342ms57933kbIncorect0
Punctaj total0

Ceva nu functioneaza?