Pagini recente » Borderou de evaluare (job #2241450) | Borderou de evaluare (job #2737444) | Borderou de evaluare (job #1416439) | Cod sursa (job #1925258) | Borderou de evaluare (job #2813957)
Borderou de evaluare (job #2813957)
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 | 6ms | 8658kb | OK | 10 |
| 7 | 19ms | 17088kb | OK | 10 |
| 8 | 42ms | 19472kb | OK | 10 |
| 9 | 138ms | 20000kb | Incorect | 0 |
| 10 | 46ms | 20484kb | Memory limit exceeded | 0 |
| Punctaj total | 80 |