Pagini recente » Borderou de evaluare (job #134395) | Borderou de evaluare (job #470912) | Borderou de evaluare (job #1197058) | Borderou de evaluare (job #1830813) | Borderou de evaluare (job #1374502)
Borderou de evaluare (job #1374502)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[x].nod.size(); i++)
^
user.cpp: In function ‘void bellmanford(int, int)’:
user.cpp:38: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:55:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.in","r",stdin);
^
user.cpp:56:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ubuntzei.out","w",stdout);
^
user.cpp:57:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&k);
^
user.cpp:58:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=k; i++) {scanf("%d",&a[i]); ok[a[i]]=true;}
^
user.cpp:61:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 332kb | OK | 5 |
| 2 | 0ms | 336kb | OK | 5 |
| 3 | 0ms | 352kb | OK | 5 |
| 4 | 0ms | 348kb | Incorect | 0 |
| 5 | 0ms | 344kb | Incorect | 0 |
| 6 | 0ms | 356kb | Incorect | 0 |
| 7 | 0ms | 364kb | Incorect | 0 |
| 8 | 0ms | 360kb | Incorect | 0 |
| 9 | 0ms | 368kb | Incorect | 0 |
| 10 | 0ms | 380kb | Incorect | 0 |
| 11 | 0ms | 384kb | Incorect | 0 |
| 12 | 0ms | 384kb | Incorect | 0 |
| 13 | 0ms | 388kb | Incorect | 0 |
| 14 | 4ms | 452kb | Incorect | 0 |
| 15 | 4ms | 456kb | Incorect | 0 |
| 16 | 8ms | 504kb | Incorect | 0 |
| 17 | 12ms | 532kb | Incorect | 0 |
| 18 | 12ms | 564kb | Incorect | 0 |
| 19 | 20ms | 636kb | Incorect | 0 |
| 20 | 0ms | 332kb | OK | 5 |
| Punctaj total | 20 |