Pagini recente » Borderou de evaluare (job #91233) | Borderou de evaluare (job #1512806) | Borderou de evaluare (job #2651009) | Borderou de evaluare (job #2257164) | Borderou de evaluare (job #2618530)
Borderou de evaluare (job #2618530)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int&)':
main.cpp:9:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < graph[currNode].size(); ++i) {
~~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:36:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in", "r", stdin);
^
main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out", "w", stdout);
^
main.cpp:39:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:42:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 15ms | 6553kb | OK | 10 |
2 | 15ms | 6553kb | OK | 10 |
3 | 15ms | 6553kb | OK | 10 |
4 | 16ms | 6553kb | OK | 10 |
5 | 27ms | 6815kb | OK | 10 |
6 | 64ms | 7733kb | OK | 10 |
7 | 92ms | 8257kb | OK | 10 |
8 | 144ms | 9175kb | OK | 10 |
9 | 112ms | 13893kb | OK | 10 |
10 | 184ms | 9961kb | OK | 10 |
Punctaj total | 100 |