Pagini recente » Borderou de evaluare (job #1495964) | Borderou de evaluare (job #818894) | Borderou de evaluare (job #511245) | Borderou de evaluare (job #186910) | Borderou de evaluare (job #2672823)
Borderou de evaluare (job #2672823)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
main.cpp:41:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
main.cpp:42:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:44:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
main.cpp:47:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
main.cpp:50:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
updBIT(x, y);
^
main.cpp:53:52: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
printf("%d\n", query(y) - query(x - 1));
^
main.cpp:54:56: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d", &x), printf("%d\n", query2(x));
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 12ms | 262kb | OK | 10 |
4 | 43ms | 393kb | OK | 10 |
5 | 97ms | 655kb | OK | 10 |
6 | 142ms | 917kb | OK | 10 |
7 | 127ms | 1179kb | OK | 10 |
8 | 207ms | 1310kb | OK | 10 |
9 | 224ms | 1441kb | OK | 10 |
10 | 204ms | 1310kb | OK | 10 |
Punctaj total | 100 |