Pagini recente » Borderou de evaluare (job #2832458) | Borderou de evaluare (job #1225577) | Borderou de evaluare (job #499656) | Borderou de evaluare (job #3245776) | Borderou de evaluare (job #1243071)
Borderou de evaluare (job #1243071)
Raport evaluator
Compilare:
user.cpp: In function ‘void query(int, int, int)’:
user.cpp:39:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ((l>=x)&&(r<=y))
^
user.cpp: In function ‘int main()’:
user.cpp:63:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.in","r",stdin);
^
user.cpp:64:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inv.out","w",stdout);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:68:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i].x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Incorect | 0 |
2 | 8ms | 596kb | Incorect | 0 |
3 | 20ms | 972kb | Incorect | 0 |
4 | 32ms | 1604kb | Incorect | 0 |
5 | 52ms | 1756kb | Incorect | 0 |
6 | 64ms | 2860kb | Incorect | 0 |
7 | 72ms | 2936kb | Incorect | 0 |
8 | 80ms | 3008kb | Incorect | 0 |
9 | 92ms | 3092kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |