Pagini recente » Borderou de evaluare (job #1761671) | Borderou de evaluare (job #3004707) | Borderou de evaluare (job #1653186) | Borderou de evaluare (job #2143833) | Borderou de evaluare (job #2278561)
Borderou de evaluare (job #2278561)
Raport evaluator
Compilare:
main.cpp: In function 'int solve(int, bool)':
main.cpp:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < v[root].size() ; ++i) NR += solve(v[root][i], 1) + 1;
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:35:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 2; i < v[root].size() ; ++i) Sol += solve(v[root][i], 1) + 1;
~~^~~~~~~~~~~~~~~~
main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tree.in", "r", stdin);
^
main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tree.out", "w", stdout);
^
main.cpp:23:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:26:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &TT[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 10ms | 4980kb | Incorect | 0 |
2 | 12ms | 4980kb | Incorect | 0 |
3 | 16ms | 4980kb | Incorect | 0 |
4 | 89ms | 6815kb | Incorect | 0 |
5 | 101ms | 6946kb | Incorect | 0 |
6 | 158ms | 7995kb | Incorect | 0 |
7 | 166ms | 8257kb | Incorect | 0 |
8 | 199ms | 9043kb | Incorect | 0 |
9 | 203ms | 9043kb | Time limit exceeded | 0 |
10 | 198ms | 9043kb | Incorect | 0 |
Punctaj total | 0 |