Pagini recente » Borderou de evaluare (job #2358874) | Borderou de evaluare (job #2911314) | Borderou de evaluare (job #1838896) | Borderou de evaluare (job #1691102) | Borderou de evaluare (job #1656424)
Borderou de evaluare (job #1656424)
Raport evaluator
Compilare:
user.cpp: In function ‘void rangeTreeUpdate(int, int, int)’:
user.cpp:16:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int middle = left + right >> 1;
^
user.cpp: In function ‘int rangeTreeQuery(int, int, int)’:
user.cpp:34:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int middle = left + right >> 1;
^
user.cpp: In function ‘int main()’:
user.cpp:45:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arbint.in", "r", stdin);
^
user.cpp:46:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("arbint.out", "w", stdout);
^
user.cpp:49:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &N, &M);
^
user.cpp:51:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &updateValue);
^
user.cpp:57:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &operation, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 280kb | OK | 10 | 10 |
2 | 8ms | 280kb | OK | 10 | 10 |
3 | 12ms | 296kb | OK | 10 | 10 |
4 | 36ms | 340kb | OK | 10 | 10 |
5 | 72ms | 1304kb | OK | 10 | 10 |
6 | 92ms | 1304kb | OK | 10 | 50 |
7 | 208ms | 1308kb | OK | 10 |
8 | 180ms | 1304kb | OK | 10 |
9 | 188ms | 1300kb | OK | 10 |
10 | 192ms | 1308kb | OK | 10 |
Punctaj total | 100 |