Pagini recente » Borderou de evaluare (job #1753891) | Borderou de evaluare (job #3259141) | Borderou de evaluare (job #602957) | Borderou de evaluare (job #2375572) | Borderou de evaluare (job #2166388)
Borderou de evaluare (job #2166388)
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 | 3400kb | OK | 10 |
2 | 4ms | 3192kb | OK | 10 |
3 | 8ms | 3320kb | OK | 10 |
4 | 28ms | 4480kb | OK | 10 |
5 | 32ms | 4640kb | OK | 10 |
6 | 80ms | 4416kb | OK | 10 |
7 | 100ms | 4388kb | OK | 10 |
8 | 72ms | 6204kb | OK | 10 |
9 | 76ms | 6400kb | Permutarea nu este sortata | 0 |
10 | 92ms | 4536kb | OK | 10 |
Punctaj total | 90 |