Pagini recente » Borderou de evaluare (job #2630295) | Borderou de evaluare (job #1097855) | Borderou de evaluare (job #2739044) | Borderou de evaluare (job #2739045) | Borderou de evaluare (job #1727453)
Borderou de evaluare (job #1727453)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int, int)’:
user.cpp:12:10: warning: statement has no effect [-Wunused-value]
for(poz; poz<=n; poz+=zero(poz))
^
user.cpp: In function ‘int suma(int)’:
user.cpp:18:10: warning: statement has no effect [-Wunused-value]
for(poz; poz>0; poz-=zero(poz))
^
user.cpp: In function ‘int main()’:
user.cpp:48:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &n);
^
user.cpp:50:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d", &v[i].val);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 300kb | OK | 10 |
| 2 | 4ms | 396kb | OK | 10 |
| 3 | 12ms | 572kb | OK | 10 |
| 4 | 24ms | 748kb | OK | 10 |
| 5 | 36ms | 984kb | OK | 10 |
| 6 | 40ms | 1104kb | OK | 10 |
| 7 | 48ms | 1208kb | OK | 10 |
| 8 | 56ms | 1336kb | OK | 10 |
| 9 | 60ms | 1440kb | OK | 10 |
| 10 | 0ms | 280kb | OK | 10 |
| Punctaj total | 100 |