Pagini recente » Borderou de evaluare (job #2688293) | Borderou de evaluare (job #2026797) | Borderou de evaluare (job #611230) | Borderou de evaluare (job #1628514) | Borderou de evaluare (job #2028820)
Borderou de evaluare (job #2028820)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:15: warning: unused variable ‘l’ [-Wunused-variable]
int n,i,k,l,lmax,x,baza,bazmax,a=1,b=1,ind;
^
user.cpp:27:17: warning: unused variable ‘lmax’ [-Wunused-variable]
int n,i,k,l,lmax,x,baza,bazmax,a=1,b=1,ind;
^
user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.in","r",stdin);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secventa.out","w",stdout);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&k);
^
user.cpp:31:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:57:13: warning: ‘bazmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(baza>bazmax || ind==k)
^
/tmp/cca8V5C6.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 360kb | OK | 10 |
| 3 | 4ms | 660kb | OK | 10 |
| 4 | 4ms | 712kb | OK | 10 |
| 5 | 8ms | 856kb | OK | 10 |
| 6 | 8ms | 976kb | OK | 10 |
| 7 | 12ms | 1452kb | OK | 10 |
| 8 | 20ms | 2040kb | OK | 10 |
| 9 | 28ms | 2628kb | OK | 10 |
| 10 | 36ms | 3212kb | OK | 10 |
| Punctaj total | 100 |