Pagini recente » Borderou de evaluare (job #2382888) | Borderou de evaluare (job #2145392) | Borderou de evaluare (job #2939416) | Borderou de evaluare (job #1859224) | Borderou de evaluare (job #2813918)
Borderou de evaluare (job #2813918)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
18 | for(int i=0; i<=n; i++)
| ~^~~
main.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
23 | for(int i=1; i<=n; i++) M[i][i] = 0;
| ~^~~
main.cpp:24:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
24 | for(int i=1; i<=n - 1; i++) M[i][i + 1] = d[i - 1] * d[i] * d[i + 1];
| ~^~~~~~~
main.cpp:25:19: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
25 | for(int w=2; w<=n - 1; w++)
| ~^~~~~~~
main.cpp:26:24: warning: comparison of integer expressions of different signedness: 'int' and 'long long unsigned int' [-Wsign-compare]
26 | for (int i= 1;i<=n - w; i++)
| ~^~~~~~~
main.cpp:25:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
25 | for(int w=2; w<=n - 1; w++)
| ^~~
main.cpp:33:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
33 | fout<<M[1][n];
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 16ms | 1024kb | OK | 10 |
8 | 64ms | 1470kb | Incorect | 0 |
9 | 151ms | 1773kb | Incorect | 0 |
10 | 305ms | 2166kb | Incorect | 0 |
Punctaj total | 70 |