Pagini recente » Borderou de evaluare (job #966255) | Borderou de evaluare (job #495749) | Borderou de evaluare (job #2580284) | Borderou de evaluare (job #955557) | Borderou de evaluare (job #1774951)
Borderou de evaluare (job #1774951)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra()’:
user.cpp:138:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<G[v].size(); ++i){
^
user.cpp:141:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(P[u] != -1){
^
user.cpp: In function ‘int main()’:
user.cpp:184:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1; i<G[s].size(); ++i)
^
user.cpp:168:37: 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:170:39: 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);
^
user.cpp:172: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:177:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &from, &to, &cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 0ms | 524kb | Incorect | 0 |
4 | 0ms | 560kb | Incorect | 0 |
5 | 24ms | 1576kb | Incorect | 0 |
6 | 60ms | 2420kb | Incorect | 0 |
7 | 72ms | 3452kb | Incorect | 0 |
8 | 104ms | 4700kb | OK | 10 |
9 | 288ms | 7740kb | Incorect | 0 |
10 | 256ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |