Pagini recente » Borderou de evaluare (job #167565) | Borderou de evaluare (job #964331) | Borderou de evaluare (job #2857511) | Borderou de evaluare (job #824803) | Borderou de evaluare (job #1191104)
Borderou de evaluare (job #1191104)
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:50: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:62:17: note: in expansion of macro ‘inf’
if(dist[i] == inf)
^
user.cpp: In function ‘void read()’:
user.cpp:72: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:75: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:82: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:83: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 | 1048kb | OK | 10 |
4 | 0ms | 1072kb | OK | 10 |
5 | 24ms | 1372kb | OK | 10 |
6 | 40ms | 1696kb | OK | 10 |
7 | 52ms | 1876kb | OK | 10 |
8 | 68ms | 2148kb | OK | 10 |
9 | 212ms | 3900kb | Incorect | 0 |
10 | 272ms | 4684kb | Incorect | 0 |
Punctaj total | 80 |