Pagini recente » Borderou de evaluare (job #1770290) | Borderou de evaluare (job #3298110) | Cod sursa (job #763529) | Cod sursa (job #763516) | Borderou de evaluare (job #2100066)
Borderou de evaluare (job #2100066)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(long int, long int, long int, long int, long int)’:
user.cpp:26:6: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
if(a<=l & r<=b){
^
user.cpp: In function ‘int main()’:
user.cpp:44:15: warning: unused variable ‘left’ [-Wunused-variable]
int l, u, n, left, right,i,j;
^
user.cpp:44:21: warning: unused variable ‘right’ [-Wunused-variable]
int l, u, n, left, right,i,j;
^
user.cpp:41:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.in", "r", stdin);
^
user.cpp:42:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sum2.out", "w", stdout);
^
user.cpp:47:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &n, &l, &u);
^
user.cpp:50:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | Depăşit | 536kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 740kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 684kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 764kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 972kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1312kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1380kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1540kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |