Pagini recente » Borderou de evaluare (job #2418909) | Borderou de evaluare (job #918882) | Borderou de evaluare (job #2089938) | Borderou de evaluare (job #1620732) | Borderou de evaluare (job #1378729)
Borderou de evaluare (job #1378729)
Raport evaluator
Compilare:
user.cpp: In function ‘void bellman_ford(int)’:
user.cpp:27:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].nod.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:44: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:45: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);
^
user.cpp:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (j=1; j<=n; j++) scanf("%d",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 288kb | OK | 10 |
| 2 | 0ms | 292kb | OK | 10 |
| 3 | 0ms | 296kb | OK | 10 |
| 4 | 0ms | 324kb | OK | 10 |
| 5 | 0ms | 332kb | OK | 10 |
| 6 | 4ms | 340kb | OK | 10 |
| 7 | 4ms | 376kb | OK | 10 |
| 8 | 8ms | 400kb | OK | 10 |
| 9 | 8ms | 408kb | OK | 10 |
| 10 | 12ms | 416kb | OK | 10 |
| Punctaj total | 100 |