Pagini recente » Borderou de evaluare (job #281582) | Borderou de evaluare (job #569480) | Borderou de evaluare (job #1191105)
Borderou de evaluare (job #1191105)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:6:21: warning: integer overflow in expression [-Woverflow]
#define inf (1<<31)-1
^
user.cpp:35:13: note: in expansion of macro ‘inf’
dist[i] = inf;
^
user.cpp:38:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < G[start].size(); i++){
^
user.cpp:6:21: warning: integer overflow in expression [-Woverflow]
#define inf (1<<31)-1
^
user.cpp:42:19: note: in expansion of macro ‘inf’
if(!(dist[i] == inf))
^
user.cpp:49:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ;i < G[top].size(); i++){
^
user.cpp:6:21: warning: integer overflow in expression [-Woverflow]
#define inf (1<<31)-1
^
user.cpp:63:17: note: in expansion of macro ‘inf’
if(dist[i] == inf)
^
user.cpp: In function ‘void read()’:
user.cpp:73:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:76:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
user.cpp: In function ‘int main()’:
user.cpp:83:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.in","r",stdin);
^
user.cpp:84:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dijkstra.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1028kb | OK | 10 |
2 | 0ms | 1024kb | OK | 10 |
3 | 0ms | 1052kb | OK | 10 |
4 | 0ms | 1072kb | OK | 10 |
5 | 20ms | 1368kb | OK | 10 |
6 | 40ms | 1700kb | OK | 10 |
7 | 56ms | 1880kb | OK | 10 |
8 | 64ms | 2136kb | OK | 10 |
9 | 204ms | 3900kb | Incorect | 0 |
10 | 272ms | 4684kb | Incorect | 0 |
Punctaj total | 80 |