Pagini recente » Borderou de evaluare (job #1408035) | Borderou de evaluare (job #1198679) | Borderou de evaluare (job #1196877)
Borderou de evaluare (job #1196877)
Raport evaluator
Compilare:
user.cpp: In function ‘void dijkstra(int)’:
user.cpp:46:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<lista[nod].size(); i++){
^
user.cpp:31:17: warning: unused variable ‘y’ [-Wunused-variable]
int i, nod, y, w;
^
user.cpp:31:20: warning: unused variable ‘w’ [-Wunused-variable]
int i, nod, y, w;
^
user.cpp: In function ‘int main()’:
user.cpp:16: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:17: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:18: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:20:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | Incorect | 0 |
2 | 0ms | 864kb | Incorect | 0 |
3 | 0ms | 900kb | Incorect | 0 |
4 | 0ms | 912kb | Incorect | 0 |
5 | 20ms | 1304kb | Incorect | 0 |
6 | 36ms | 1660kb | Incorect | 0 |
7 | 52ms | 2008kb | Incorect | 0 |
8 | 72ms | 2480kb | OK | 10 |
9 | 176ms | 3956kb | Incorect | 0 |
10 | 232ms | 4748kb | Incorect | 0 |
Punctaj total | 10 |