Pagini recente » Borderou de evaluare (job #1117677) | Borderou de evaluare (job #2196692) | Borderou de evaluare (job #2208631) | Borderou de evaluare (job #1620988) | Borderou de evaluare (job #2440228)
Borderou de evaluare (job #2440228)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (A[i][k] + A[k][j] < A[i][j] && (A[i][k] != 0 && A[k][j] != 0) || (A[i][j] == 0 && i!=j))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.in", "r", stdin);
^
main.cpp:14:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("royfloyd.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 3ms | 131kb | OK | 10 |
| 4 | 4ms | 131kb | OK | 10 |
| 5 | 6ms | 131kb | OK | 10 |
| 6 | 7ms | 131kb | OK | 10 |
| 7 | 9ms | 131kb | OK | 10 |
| 8 | 11ms | 131kb | OK | 10 |
| 9 | 14ms | 262kb | OK | 10 |
| 10 | 18ms | 262kb | OK | 10 |
| Punctaj total | 90 |