Pagini recente » Borderou de evaluare (job #184814) | Borderou de evaluare (job #1865273) | Borderou de evaluare (job #55128) | Borderou de evaluare (job #2050851) | Borderou de evaluare (job #1243069)
Borderou de evaluare (job #1243069)
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 | 308kb | Incorect | 0 |
2 | 8ms | 600kb | Incorect | 0 |
3 | 20ms | 964kb | Incorect | 0 |
4 | 32ms | 1600kb | Incorect | 0 |
5 | 52ms | 1760kb | Incorect | 0 |
6 | 64ms | 2852kb | Incorect | 0 |
7 | 72ms | 2940kb | Incorect | 0 |
8 | 80ms | 3016kb | Incorect | 0 |
9 | 92ms | 3092kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |