Pagini recente » Borderou de evaluare (job #1641692) | Borderou de evaluare (job #2300647) | Borderou de evaluare (job #1641687) | Borderou de evaluare (job #1093227) | Borderou de evaluare (job #2132990)
Borderou de evaluare (job #2132990)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:13: warning: unused variable ‘nr’ [-Wunused-variable]
int n,i,nr,xx,li=1,lf=1,so=999999999,si=0,lg=0,tot=0,poz;
^
user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&v[i],&xx);
^
user.cpp:38:10: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
lg=lf-li+1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 756kb | OK! | 10 |
| 2 | 0ms | 756kb | OK! | 10 |
| 3 | 0ms | 864kb | OK! | 10 |
| 4 | 4ms | 932kb | OK! | 10 |
| 5 | 12ms | 904kb | OK! | 10 |
| 6 | 32ms | 1164kb | OK! | 10 |
| 7 | 44ms | 1432kb | OK! | 10 |
| 8 | 20ms | 1044kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 12ms | 860kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 756kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 70 |