Pagini recente » Borderou de evaluare (job #2563152) | Borderou de evaluare (job #2326153) | Borderou de evaluare (job #973589) | Borderou de evaluare (job #1713813) | Borderou de evaluare (job #2222623)
Borderou de evaluare (job #2222623)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:9: warning: unused variable ‘x’ [-Wunused-variable]
int x,sol=0,poz;
^
user.cpp:25:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("move.in","r",stdin);
^
user.cpp:26:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("move.out","w",stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:38:37: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(poz!=0) {vaz[v[poz]]=1;poz=tata[poz];}
~~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1340kb | OK | 10 |
2 | 0ms | 1356kb | OK | 10 |
3 | 4ms | 1436kb | OK | 10 |
4 | 24ms | 2156kb | OK | 10 |
5 | 28ms | 2356kb | OK | 10 |
6 | 72ms | 2972kb | OK | 10 |
7 | 96ms | 3364kb | OK | 10 |
8 | 68ms | 3364kb | OK | 10 |
9 | 64ms | 3368kb | OK | 10 |
10 | 96ms | 3368kb | OK | 10 |
Punctaj total | 100 |