Borderou de evaluare (job #2875108)

Utilizator traiandobrinDobrin Traian traiandobrin Data 20 martie 2022 23:07:24
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
1158ms7041kbIncorect00
2163ms7077kbIncorect0
3164ms7102kbIncorect0
4159ms7061kbIncorect0
5164ms7122kbOK3
6159ms7045kbOK3
7159ms7045kbOK3
8164ms7098kbOK3
9518ms28692kbIncorect00
10986ms53911kbIncorect0
11782ms56016kbIncorect0
12977ms56012kbIncorect0
131062ms56012kbIncorect0
141120ms56016kbIncorect0
151148ms56016kbIncorect0
161209ms56012kbIncorect0
171218ms56016kbIncorect0
181012ms32718kbIncorect00
191512ms57933kbIncorect0
201173ms57933kbIncorect0
211367ms57933kbIncorect0
221451ms57933kbIncorect0
231488ms57937kbIncorect0
241543ms57933kbIncorect0
251595ms57937kbIncorect0
261605ms57933kbIncorect0
271531ms57933kbIncorect0
281419ms57937kbIncorect0
291345ms57937kbIncorect0
Punctaj total0

Ceva nu functioneaza?