Borderou de evaluare (job #2404584)
Raport evaluator
Compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:45:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[k].size();j++)
~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61:41: 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);
^
main.cpp:62:43: 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);
^
main.cpp:63:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:67:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d",&x,&y,&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 1310kb | OK | 10 |
2 | 4ms | 1310kb | OK | 10 |
3 | 41ms | 1310kb | Incorect | 0 |
4 | 120ms | 1441kb | Incorect | 0 |
5 | 1003ms | 1703kb | Time limit exceeded | 0 |
6 | 1000ms | 2097kb | Time limit exceeded | 0 |
7 | 1003ms | 2490kb | Time limit exceeded | 0 |
8 | 1000ms | 3657kb | Time limit exceeded | 0 |
9 | 1003ms | 3538kb | Time limit exceeded | 0 |
10 | 1003ms | 5373kb | Time limit exceeded | 0 |
Punctaj total | 20 |