Borderou de evaluare (job #2239689)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.in", "r", stdin);
^
user.cpp:41:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesearch.out", "w", stdout);
^
user.cpp:43:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:45:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]);
^
user.cpp:48:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:59:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3504kb | OK | 10 |
2 | 0ms | 3508kb | OK | 10 |
3 | 4ms | 3548kb | OK | 10 |
4 | 8ms | 3644kb | OK | 10 |
5 | 20ms | 3744kb | OK | 10 |
6 | 44ms | 4092kb | OK | 10 |
7 | 100ms | 4680kb | OK | 10 |
8 | 144ms | 5200kb | OK | 10 |
9 | 200ms | 5748kb | OK | 10 |
10 | 228ms | 6016kb | OK | 10 |
Punctaj total | 100 |