Pagini recente » Borderou de evaluare (job #1355726) | Borderou de evaluare (job #2699521) | Borderou de evaluare (job #2773693) | Borderou de evaluare (job #2514595) | Borderou de evaluare (job #2813945)
Borderou de evaluare (job #2813945)
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 | 987kb | OK | 10 |
8 | 64ms | 1449kb | OK | 10 |
9 | 160ms | 1880kb | Incorect | 0 |
10 | 320ms | 2265kb | Incorect | 0 |
Punctaj total | 80 |