Pagini recente » Borderou de evaluare (job #525495) | Borderou de evaluare (job #266779) | Borderou de evaluare (job #1399480) | Borderou de evaluare (job #1125938) | Borderou de evaluare (job #1401669)
Borderou de evaluare (job #1401669)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int)’:
user.cpp:32:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr=0,m=(st+dr)/2;
^
user.cpp: In function ‘int main()’:
user.cpp:40:31: 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:41:33: 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:42:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:46:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&str[i].val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 316kb | OK | 10 |
| 2 | 12ms | 528kb | OK | 10 |
| 3 | 32ms | 832kb | Incorect | 0 |
| 4 | 52ms | 1252kb | OK | 10 |
| 5 | 80ms | 1488kb | OK | 10 |
| 6 | 96ms | 2128kb | Incorect | 0 |
| 7 | 112ms | 2240kb | OK | 10 |
| 8 | 128ms | 2352kb | OK | 10 |
| 9 | 144ms | 2464kb | Incorect | 0 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 70 |