Pagini recente » Borderou de evaluare (job #2870453) | Borderou de evaluare (job #11494) | Borderou de evaluare (job #2579338) | Borderou de evaluare (job #4728) | Borderou de evaluare (job #2672822)
Borderou de evaluare (job #2672822)
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 | Incorect | 0 |
2 | 4ms | 131kb | Incorect | 0 |
3 | 12ms | 262kb | Incorect | 0 |
4 | 43ms | 393kb | Incorect | 0 |
5 | 97ms | 655kb | Incorect | 0 |
6 | 140ms | 917kb | Incorect | 0 |
7 | 155ms | 1179kb | Incorect | 0 |
8 | 211ms | 1441kb | Incorect | 0 |
9 | 212ms | 1441kb | Incorect | 0 |
10 | 195ms | 1441kb | Incorect | 0 |
Punctaj total | 0 |