Pagini recente » Borderou de evaluare (job #377718) | Cod sursa (job #1628341) | Borderou de evaluare (job #2113646) | Borderou de evaluare (job #828179) | Borderou de evaluare (job #2467623)
Borderou de evaluare (job #2467623)
Raport evaluator
Compilare:
main.cpp: In function 'int BFS(int, int)':
main.cpp:46:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Gph[node].size(); i++)
~~^~~~~~~~~~~~~~~~~~
main.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void Read(int&)':
main.cpp:24:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(f, MAX, 1, IN), pos = 0;
^
main.cpp:29:42: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fread(f, MAX, 1, IN), pos = 0;
^
main.cpp: In function 'int main()':
main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bfs.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2490kb | OK | 10 |
2 | 6ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | Incorect | 0 |
4 | 6ms | 2490kb | Incorect | 0 |
5 | 12ms | 2867kb | Incorect | 0 |
6 | 38ms | 4210kb | Incorect | 0 |
7 | 115ms | 6713kb | Incorect | 0 |
8 | 116ms | 6520kb | Incorect | 0 |
9 | 486ms | 15863kb | Incorect | 0 |
10 | 489ms | 15781kb | Incorect | 0 |
Punctaj total | 20 |