Pagini recente » Borderou de evaluare (job #2582269) | Borderou de evaluare (job #3326072) | Borderou de evaluare (job #336392) | Borderou de evaluare (job #3326083) | Borderou de evaluare (job #1740375)
Borderou de evaluare (job #1740375)
Raport evaluator
Compilare:
user.cpp: In function ‘bool BellmanFord()’:
user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<g[node].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:43:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cc.in","r",stdin);
^
user.cpp:44:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cc.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:49:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i][j+n]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 312kb | OK | 10 |
| 2 | 0ms | 340kb | OK | 10 |
| 3 | 0ms | 348kb | OK | 10 |
| 4 | 0ms | 408kb | OK | 10 |
| 5 | 4ms | 512kb | OK | 10 |
| 6 | 8ms | 624kb | OK | 10 |
| 7 | 20ms | 732kb | OK | 10 |
| 8 | 20ms | 732kb | OK | 10 |
| 9 | 4ms | 584kb | OK | 10 |
| 10 | 16ms | 708kb | OK | 10 |
| Punctaj total | 100 |