Pagini recente » Borderou de evaluare (job #3253055) | Borderou de evaluare (job #2615833) | Borderou de evaluare (job #2911031) | Borderou de evaluare (job #2354528) | Borderou de evaluare (job #1656423)
Borderou de evaluare (job #1656423)
Raport evaluator
Compilare:
user.cpp: In function ‘void rangeTreeBuild(int, int, int)’:
user.cpp:17:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int middle = left + right >> 1;
^
user.cpp: In function ‘void rangeTreeUpdate(int, int, int)’:
user.cpp:35:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int middle = left + right >> 1;
^
user.cpp: In function ‘int rangeTreeQuery(int, int, int)’:
user.cpp:53:23: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int middle = left + right >> 1;
^
user.cpp: In function ‘int main()’:
user.cpp:64: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:65: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:68: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:70:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", V + i);
^
user.cpp:76: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 | 284kb | OK | 10 | 10 |
3 | 12ms | 308kb | OK | 10 | 10 |
4 | 36ms | 372kb | OK | 10 | 10 |
5 | 52ms | 1588kb | OK | 10 | 10 |
6 | 68ms | 1664kb | OK | 10 | 50 |
7 | 184ms | 1696kb | OK | 10 |
8 | 160ms | 1648kb | OK | 10 |
9 | 160ms | 1676kb | OK | 10 |
10 | 168ms | 1696kb | OK | 10 |
Punctaj total | 100 |