Borderou de evaluare (job #2868896)

Utilizator mihnea.cazan15mihnea cazan mihnea.cazan15 Data 11 martie 2022 11:25:28
Problema Peisaj Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 36

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 12 | for(int i=2;i<=n;i++) | ~^~~ main.cpp:14:22: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 14 | for(int j=0;j<=n;j++) | ~^~~ main.cpp:24:18: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 24 | for(int i=2;i<=n;i++) | ~^~~ main.cpp:33:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 33 | if(j!=k) | ~^~~ main.cpp:35:21: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare] 35 | if(j==k) | ~^~~ main.cpp:9:28: warning: unused variable 'ans' [-Wunused-variable] 9 | unsigned long long n,k,ans=0,ans2=0; | ^~~ main.cpp:9:34: warning: unused variable 'ans2' [-Wunused-variable] 9 | unsigned long long n,k,ans=0,ans2=0; | ^~~~ main.cpp:23:16: warning: array subscript 1 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds] 23 | dp2[1][1]=1; | ~~~~~~~~^ main.cpp:34:37: warning: array subscript 1 is above array bounds of 'long long unsigned int [1][1]' [-Warray-bounds] 34 | dp2[i][j]=dp2[i-1][j-1]+dp2[i-1][j+1]; | ~~~~~~~^ main.cpp:6:31: note: while referencing 'dp2' 6 | unsigned long long dp[51][51],dp2[1][1]; | ^~~ main.cpp:34:56: warning: array subscript 2 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds] 34 | dp2[i][j]=dp2[i-1][j-1]+dp2[i-1][j+1]; | ~~~~~~~~~~~~^ main.cpp:34:28: warning: array subscript 1 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds] 34 | dp2[i][j]=dp2[i-1][j-1]+dp2[i-1][j+1]; | ~~~~~~~~^ main.cpp:36:37: warning: array subscript 1 is above array bounds of 'long long unsigned int [1][1]' [-Warray-bounds] 36 | dp2[i][j]=dp2[i-1][j-1]+1+dp2[i-1][j+1]; | ~~~~~~~^ main.cpp:6:31: note: while referencing 'dp2' 6 | unsigned long long dp[51][51],dp2[1][1]; | ^~~ main.cpp:36:58: warning: array subscript 2 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds] 36 | dp2[i][j]=dp2[i-1][j-1]+1+dp2[i-1][j+1]; | ~~~~~~~~~~~~^ main.cpp:36:28: warning: array subscript 1 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds] 36 | dp2[i][j]=dp2[i-1][j-1]+1+dp2[i-1][j+1]; | ~~~~~~~~^ main.cpp:30:36: warning: array subscript 1 is above array bounds of 'long long unsigned int [1]' [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbRaspuns partial corect!6
22ms184kbRaspuns corect!10
32ms184kbRaspuns partial corect!6
42ms184kbRaspuns partial corect!2
52ms184kbRaspuns partial corect!2
62ms184kbRaspuns partial corect!2
72ms184kbRaspuns partial corect!2
82ms184kbRaspuns partial corect!2
92ms184kbRaspuns partial corect!2
102ms184kbRaspuns partial corect!2
Punctaj total36

Ceva nu functioneaza?