Pagini recente » Borderou de evaluare (job #2406547) | Borderou de evaluare (job #2925489) | Borderou de evaluare (job #2406765) | Borderou de evaluare (job #124539) | Borderou de evaluare (job #1453737)
Borderou de evaluare (job #1453737)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.in","r",stdin);
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("br.out","w",stdout);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:18:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i]);
^
user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&x);
^
user.cpp:12:41: warning: ‘mid’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, i, j, k, x, s, t, st, q, dr, mid, ok;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 4ms | 276kb | OK | 10 |
| 4 | 8ms | 280kb | OK | 10 |
| 5 | 8ms | 280kb | OK | 10 |
| 6 | 8ms | 288kb | OK | 10 |
| 7 | 8ms | 344kb | OK | 10 |
| 8 | 8ms | 392kb | OK | 10 |
| 9 | 12ms | 424kb | OK | 10 |
| 10 | 12ms | 440kb | OK | 10 |
| Punctaj total | 100 |