Pagini recente » Borderou de evaluare (job #1463872) | Borderou de evaluare (job #703140) | Borderou de evaluare (job #2083472) | Borderou de evaluare (job #1618361) | Borderou de evaluare (job #1895215)
Borderou de evaluare (job #1895215)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:33: warning: unused variable ‘stop’ [-Wunused-variable]
int n, st, dr, i, ok, min, s, stop, start, lmin, poz, drrel, strel, startrel, j;
^
user.cpp:11:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:13:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i]);
^
user.cpp:10:64: warning: ‘strel’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, st, dr, i, ok, min, s, stop, start, lmin, poz, drrel, strel, startrel, j;
^
user.cpp:48:18: warning: ‘drrel’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=drrel+1; i<=n; i++){
^
user.cpp:30:16: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lmin=dr-st+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 284kb | Incorect | 0 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 284kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 280kb | Incorect | 0 |
Punctaj total | 30 |