Pagini recente » Borderou de evaluare (job #79825) | Borderou de evaluare (job #920148) | Borderou de evaluare (job #3190634) | Borderou de evaluare (job #1395983) | Borderou de evaluare (job #2396189)
Borderou de evaluare (job #2396189)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%lld", &n, &b);
^
main.cpp:29:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &v[i]);
^
main.cpp:42:30: warning: 'rez' may be used uninitialized in this function [-Wmaybe-uninitialized]
rez += (b - sum) / (n - i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 5ms | 131kb | OK | 10 |
6 | 5ms | 131kb | OK | 10 |
7 | 27ms | 262kb | OK | 10 |
8 | 26ms | 262kb | OK | 10 |
9 | 61ms | 524kb | OK | 10 |
10 | 58ms | 524kb | OK | 10 |
Punctaj total | 100 |