Borderou de evaluare (job #2790945)

Utilizator AndreiP25Prusacov Andrei AndreiP25 Data 29 octombrie 2021 20:20:18
Problema Plantatie Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void create_table()': main.cpp:15:20: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 15 | for(k=1; (1<<k)<=N; k++) | ~~~~~~^~~ main.cpp:20:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 20 | if(maxi<rmax[i][j][k-1]) | ~~~~^~~~~~~~~~~~~~~~ main.cpp:22:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 22 | if(maxi<rmax[i+(1<<k-1)][j][k-1]) | ~^~ main.cpp:22:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 22 | if(maxi<rmax[i+(1<<k-1)][j][k-1]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:23:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 23 | maxi=rmax[i+(1<<k-1)][j][k-1]; | ~^~ main.cpp:24:40: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 24 | if(maxi<rmax[i][j+(1<<k-1)][k-1]) | ~^~ main.cpp:24:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 24 | if(maxi<rmax[i][j+(1<<k-1)][k-1]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:25:41: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 25 | maxi=rmax[i][j+(1<<k-1)][k-1]; | ~^~ main.cpp:26:37: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 26 | if(maxi<rmax[i+(1<<k-1)][j+(1<<k-1)][k-1]) | ~^~ main.cpp:26:49: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 26 | if(maxi<rmax[i+(1<<k-1)][j+(1<<k-1)][k-1]) | ~^~ main.cpp:26:24: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 26 | if(maxi<rmax[i+(1<<k-1)][j+(1<<k-1)][k-1]) | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp:27:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 27 | maxi=rmax[i+(1<<k-1)][j+(1<<k-1)][k-1]; | ~^~ main.cpp:27:50: warning: suggest parentheses around '-' inside '<<' [-Wparentheses] 27 | maxi=rmax[i+(1<<k-1)][j+(1<<k-1)][k-1]; | ~^~ main.cpp: In function 'int cauta(int, int, int)': main.cpp:37:22: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 37 | if(rmax[i][j][p] > maxi) | ~~~~~~~~~~~~~~^~~~~~ main.cpp:39:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 39 | if(rmax[i+dif][j][p]>maxi) | ~~~~~~~~~~~~~~~~~^~~~~ main.cpp:41:25: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] 41 | if(rmax[i][j+dif][p]>maxi) | ~~~~~~~~~~~~~~~~~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms2404kbIncorect00
21ms184kbIncorect00
36ms4632kbIncorect00
47ms2641kbIncorect00
59ms8957kbIncorect00
643ms11108kbIncorect00
753ms13209kbIncorect0
8159ms17522kbIncorect0
9203ms2670kbTime limit exceeded0
10203ms2609kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?