Pagini recente » Borderou de evaluare (job #1915341) | Borderou de evaluare (job #884178) | Borderou de evaluare (job #691660) | Borderou de evaluare (job #2109136) | Borderou de evaluare (job #1656364)
Borderou de evaluare (job #1656364)
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:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &operation);
^
user.cpp:58:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 10 |
2 | 8ms | 284kb | OK | 10 | 10 |
3 | 12ms | 296kb | OK | 10 | 10 |
4 | 40ms | 348kb | OK | 10 | 10 |
5 | 20ms | 816kb | Wall time limit exceeded. | 0 | 0 |
6 | 28ms | 820kb | Wall time limit exceeded. | 0 | 0 |
7 | 28ms | 812kb | Wall time limit exceeded. | 0 |
8 | 24ms | 820kb | Wall time limit exceeded. | 0 |
9 | 28ms | 824kb | Wall time limit exceeded. | 0 |
10 | 32ms | 812kb | Wall time limit exceeded. | 0 |
Punctaj total | 40 |