Pagini recente » Borderou de evaluare (job #1384524) | Borderou de evaluare (job #429620) | Borderou de evaluare (job #2642471) | Borderou de evaluare (job #2090191) | Borderou de evaluare (job #1480913)
Borderou de evaluare (job #1480913)
Raport evaluator
Compilare:
user.cpp: In member function ‘void GRAPH::Dijkstra(int, std::vector<int>&)’:
user.cpp:33:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<graph[nod.first].size(); i++)
^
user.cpp:45:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2; i<dist.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:39: 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:54:41: 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:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:63:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &a, &b, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 908kb | Incorect | 0 |
2 | 0ms | 912kb | OK | 10 |
3 | 0ms | 932kb | Incorect | 0 |
4 | 0ms | 948kb | Incorect | 0 |
5 | 20ms | 1260kb | Incorect | 0 |
6 | 44ms | 1584kb | Incorect | 0 |
7 | 60ms | 1584kb | Incorect | 0 |
8 | 72ms | 1848kb | OK | 10 |
9 | 216ms | 3812kb | Incorect | 0 |
10 | 276ms | 4600kb | Incorect | 0 |
Punctaj total | 20 |