Borderou de evaluare (job #1483752)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n - 1 - list[1].size() <= k) {
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.in","r",stdin);
^
user.cpp:47:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.out","w",stdout);
^
user.cpp:49:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:51:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &dad);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1616kb | Incorect | 0 |
2 | 0ms | 1620kb | OK | 10 |
3 | 0ms | 1612kb | OK | 10 |
4 | 12ms | 1764kb | OK | 10 |
5 | 40ms | 2048kb | OK | 10 |
6 | 76ms | 2492kb | OK | 10 |
7 | Depăşit | 3044kb | Time limit exceeded. | 0 |
8 | Depăşit | 3080kb | Time limit exceeded. | 0 |
9 | 100ms | 3936kb | OK | 10 |
10 | 108ms | 3372kb | OK | 10 |
Punctaj total | 70 |