Pagini recente » Borderou de evaluare (job #2717468) | Borderou de evaluare (job #1268248) | Borderou de evaluare (job #2717530) | Borderou de evaluare (job #1277648) | Borderou de evaluare (job #1583316)
Borderou de evaluare (job #1583316)
Raport evaluator
Compilare:
user.cpp: In function ‘bool bellmanFord(int)’:
user.cpp:6:22: warning: integer overflow in expression [-Woverflow]
#define Inf ((1<<31)-1)
^
user.cpp:34:25: note: in expansion of macro ‘Inf’
m[first].assign(n+1,Inf); //distantele de la nodul de start la toate celelalte noduri sunt initializate cu Inf
^
user.cpp:48:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v[p].size(); i++) //se incearca optimizarea drumurilor de la nodul de start la
^
user.cpp: In function ‘int main()’:
user.cpp:77:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i< m[1].size(); i++)
^
user.cpp: In function ‘void citire()’:
user.cpp:18:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:22:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&a,&b,&c);
^
user.cpp: In function ‘int main()’:
user.cpp:73:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.in","rt",stdin);
^
user.cpp:74:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bellmanford.out","wt",stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 1596kb | OK | 5 | 5 |
| 2 | 0ms | 1592kb | OK | 5 | 5 |
| 3 | 0ms | 1596kb | OK | 5 | 5 |
| 4 | 0ms | 1596kb | OK | 5 | 5 |
| 5 | 0ms | 1624kb | OK | 5 | 5 |
| 6 | 0ms | 1604kb | OK | 5 | 10 |
| 7 | 4ms | 1604kb | OK | 5 |
| 8 | 36ms | 1840kb | OK | 5 | 15 |
| 9 | 44ms | 2104kb | OK | 5 |
| 10 | 4ms | 1608kb | OK | 5 |
| 11 | 60ms | 2104kb | OK | 5 | 20 |
| 12 | 108ms | 3160kb | OK | 5 |
| 13 | 80ms | 2632kb | OK | 5 |
| 14 | 152ms | 3864kb | OK | 5 |
| 15 | 188ms | 4336kb | OK | 5 | 15 |
| 16 | 144ms | 3728kb | OK | 5 |
| 17 | 16ms | 1616kb | OK | 5 |
| 18 | 212ms | 4672kb | OK | 5 | 15 |
| 19 | 264ms | 5328kb | OK | 5 |
| 20 | 24ms | 1628kb | OK | 5 |
| Punctaj total | 100 |