Pagini recente » Borderou de evaluare (job #3177841) | Borderou de evaluare (job #1475137) | Borderou de evaluare (job #1886875) | Borderou de evaluare (job #1797000) | Borderou de evaluare (job #1279227)
Borderou de evaluare (job #1279227)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:80:11: warning: statement has no effect [-Wunused-value]
for(i ; s != p2 && s != stotal - p1 - p2 && i < n; ++i)
^
user.cpp:14: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:18:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &a[i]);
^
user.cpp:80:41: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i ; s != p2 && s != stotal - p1 - p2 && i < n; ++i)
^
user.cpp:73:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 0; s != p1 && i < n; ++i) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 10 |
| 2 | 0ms | 452kb | Incorect | 0 |
| 3 | 0ms | 456kb | Incorect | 0 |
| 4 | 0ms | 456kb | Incorect | 0 |
| 5 | 24ms | 844kb | Incorect | 0 |
| 6 | 24ms | 844kb | OK | 10 |
| 7 | 24ms | 840kb | OK | 10 |
| 8 | 228ms | 4356kb | Incorect | 0 |
| 9 | 216ms | 4360kb | Incorect | 0 |
| 10 | 248ms | 4356kb | OK | 10 |
| Punctaj total | 40 |