Pagini recente » Borderou de evaluare (job #2874043) | Borderou de evaluare (job #2874391) | Borderou de evaluare (job #747957) | Borderou de evaluare (job #2560987) | Borderou de evaluare (job #2035860)
Borderou de evaluare (job #2035860)
Raport evaluator
Compilare:
user.cpp: In function ‘void Roy_Floyd(int (*)[105], int)’:
user.cpp:12:117: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(matrix[i][k] && matrix[k][j] && (matrix[i][j] > matrix[i][k] + matrix[k][j] || matrix[i][j] == 0 && i != j))
^
user.cpp: In function ‘int main()’:
user.cpp:28:37: 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);
^
user.cpp:29:39: 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 | 0ms | 424kb | OK | 10 |
| 2 | 0ms | 424kb | OK | 10 |
| 3 | 0ms | 428kb | OK | 10 |
| 4 | 0ms | 432kb | OK | 10 |
| 5 | 0ms | 444kb | OK | 10 |
| 6 | 4ms | 444kb | OK | 10 |
| 7 | 4ms | 452kb | OK | 10 |
| 8 | 8ms | 452kb | OK | 10 |
| 9 | 8ms | 456kb | OK | 10 |
| 10 | 12ms | 460kb | OK | 10 |
| Punctaj total | 100 |