Pagini recente » Borderou de evaluare (job #1459207) | Borderou de evaluare (job #1582575) | Borderou de evaluare (job #542724) | Borderou de evaluare (job #1242796) | Borderou de evaluare (job #2959153)
Borderou de evaluare (job #2959153)
Raport evaluator
Compilare:
main.cpp: In function 'void solve_query(int, int)':
main.cpp:51:13: warning: unused variable 'j' [-Wunused-variable]
51 | int i=1,j,st=-1,dr,copie,kon,maxim;
| ^
main.cpp:51:34: warning: unused variable 'maxim' [-Wunused-variable]
51 | int i=1,j,st=-1,dr,copie,kon,maxim;
| ^~~~~
main.cpp: In function 'int main()':
main.cpp:95:13: warning: unused variable 'j' [-Wunused-variable]
95 | int n,i,j,q;
| ^
main.cpp: In function 'void solve_query(int, int)':
main.cpp:51:21: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
51 | int i=1,j,st=-1,dr,copie,kon,maxim;
| ^~
main.cpp:65:79: warning: 'kon' may be used uninitialized in this function [-Wmaybe-uninitialized]
65 | if(frecv[a[right+1]]>frecv[kon] || (frecv[a[right+1]]==frecv[kon] && a[right+1]<kon))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 446kb | OK | 10 | 10 |
2 | 8ms | 446kb | OK | 10 | 10 |
3 | 45ms | 1019kb | OK | 10 | 30 |
4 | 45ms | 1019kb | OK | 10 |
5 | 79ms | 1454kb | OK | 10 |
6 | 99ms | 1667kb | OK | 10 | 50 |
7 | 187ms | 2957kb | OK | 10 |
8 | 183ms | 2867kb | OK | 10 |
9 | 232ms | 2945kb | OK | 10 |
10 | 229ms | 3076kb | OK | 10 |
Punctaj total | 100 |