Pagini recente » Borderou de evaluare (job #3217072) | Borderou de evaluare (job #1740982) | Borderou de evaluare (job #2458982) | Borderou de evaluare (job #1789097) | Borderou de evaluare (job #1344306)
Borderou de evaluare (job #1344306)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:12:9: warning: unused variable ‘v’ [-Wunused-variable]
int v;
^
user.cpp: In function ‘void royfloyd()’:
user.cpp:25:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(m[i][j]>m[i][k]+m[k][j]||m[i][j]==0&&i!=j)
^
user.cpp: In function ‘void read()’:
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m[i][j]);
^
user.cpp: In function ‘int main()’:
user.cpp:42: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:43: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 | 252kb | OK | 10 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 4ms | 284kb | OK | 10 |
8 | 4ms | 284kb | OK | 10 |
9 | 4ms | 288kb | OK | 10 |
10 | 8ms | 284kb | OK | 10 |
Punctaj total | 90 |