Borderou de evaluare (job #1283723)
Raport evaluator
Compilare:
user.cpp: In function ‘void BFS(int)’:
user.cpp:29:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:44:32: note: in expansion of macro ‘INF’
for (i=2;i<=N;i++) dist[i]=INF;
^
user.cpp:29:21: warning: integer overflow in expression [-Woverflow]
#define INF (1<<31)-1
^
user.cpp:52:28: note: in expansion of macro ‘INF’
if (dist[*it]==INF)
^
user.cpp: In function ‘int main()’:
user.cpp:63:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.in","r",stdin);
^
user.cpp:64:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("amici2.out","w",stdout);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:68:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:71:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 720kb | Corect! | 10 |
2 | 4ms | 744kb | Corect! | 10 |
3 | 4ms | 740kb | Corect! | 10 |
4 | 20ms | 900kb | Corect! | 10 |
5 | 60ms | 1284kb | Corect! | 10 |
6 | 76ms | 1452kb | Corect! | 10 |
7 | 72ms | 1416kb | Corect! | 10 |
8 | 96ms | 1600kb | Corect! | 10 |
9 | 84ms | 1568kb | Corect! | 10 |
10 | 112ms | 1764kb | Corect! | 10 |
Punctaj total | 100 |