Pagini recente » Borderou de evaluare (job #2356170) | Borderou de evaluare (job #1858173) | Borderou de evaluare (job #2906928) | Borderou de evaluare (job #1723480) | Borderou de evaluare (job #1499557)
Borderou de evaluare (job #1499557)
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 | 12ms | 280kb | OK | 10 |
5 | 12ms | 272kb | OK | 10 |
6 | 12ms | 292kb | OK | 10 |
7 | 12ms | 344kb | OK | 10 |
8 | 16ms | 392kb | OK | 10 |
9 | 16ms | 420kb | OK | 10 |
10 | 16ms | 440kb | OK | 10 |
Punctaj total | 100 |