Pagini recente » Borderou de evaluare (job #2152467) | Borderou de evaluare (job #2024018) | Borderou de evaluare (job #1185622) | Borderou de evaluare (job #2937716) | Borderou de evaluare (job #2393642)
Borderou de evaluare (job #2393642)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int, int)':
main.cpp:22:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < hashmap[key].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~~
main.cpp:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < arb[nodCrt].size(); i++) {
~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:38:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.in", "r", stdin);
^
main.cpp:39:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbore3.out", "w", stdout);
^
main.cpp:41:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &sum);
^
main.cpp:43:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tata, &val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | 48103kb | OK | 10 |
2 | 101ms | 48234kb | OK | 10 |
3 | 142ms | 49545kb | OK | 10 |
4 | 440ms | 59244kb | OK | 10 |
5 | 767ms | 69468kb | OK | 10 |
6 | 1021ms | 77594kb | OK | 10 |
7 | 1132ms | 82313kb | OK | 10 |
8 | 1237ms | 84279kb | OK | 10 |
9 | 1467ms | 85852kb | OK | 10 |
10 | 1482ms | 87556kb | OK | 10 |
Punctaj total | 100 |