Pagini recente » Borderou de evaluare (job #2638628) | Borderou de evaluare (job #305446) | Borderou de evaluare (job #2620682) | Borderou de evaluare (job #38042) | Borderou de evaluare (job #2166383)
Borderou de evaluare (job #2166383)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &n);
^
user.cpp:37:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &v[i]);
^
user.cpp:26:16: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(prev[ind] > 0) print(prev[ind]);
^
user.cpp:77:23: note: ‘nmax’ was declared here
int max = -1, nmax;
^
user.cpp:27:12: warning: ‘nmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
f[v[ind]] = 1;
^
user.cpp:52:19: note: ‘nmax’ was declared here
int max = -1, nmax;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3296kb | OK | 10 |
2 | 4ms | 3436kb | OK | 10 |
3 | 8ms | 3296kb | OK | 10 |
4 | 28ms | 4644kb | OK | 10 |
5 | 32ms | 4836kb | OK | 10 |
6 | 80ms | 4276kb | OK | 10 |
7 | 100ms | 4596kb | OK | 10 |
8 | 72ms | 6308kb | OK | 10 |
9 | 76ms | 6564kb | Wrong Answer | 0 |
10 | 96ms | 4544kb | OK | 10 |
Punctaj total | 90 |