Pagini recente » Borderou de evaluare (job #560672) | Borderou de evaluare (job #13746) | Borderou de evaluare (job #3224099) | Borderou de evaluare (job #1635460) | Borderou de evaluare (job #1366321)
Borderou de evaluare (job #1366321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘float*’ [-Wformat=]
fscanf(f, "%d", &a[i]);
^
user.cpp:17:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘float*’ [-Wformat=]
fscanf(f, "%d", &b[i]);
^
user.cpp:6:8: warning: unused variable ‘rez’ [-Wunused-variable]
float rez,s1,s2,max = 0,a[30002], b[30002];
^
user.cpp:11:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d%d%d", &n, &l, &u);
^
user.cpp:14:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &a[i]);
^
user.cpp:17:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &b[i]);
^
user.cpp:26:13: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s2 = b[poz];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Wrong answer! | 0 |
2 | 0ms | 288kb | Wrong answer! | 0 |
3 | 0ms | 296kb | Wrong answer! | 0 |
4 | 0ms | 312kb | Wrong answer! | 0 |
5 | 4ms | 332kb | Wrong answer! | 0 |
6 | 8ms | 364kb | Wrong answer! | 0 |
7 | 8ms | 396kb | Wrong answer! | 0 |
8 | 12ms | 444kb | Wrong answer! | 0 |
9 | 12ms | 476kb | Wrong answer! | 0 |
10 | 16ms | 516kb | OK! | 10 |
Punctaj total | 10 |