Pagini recente » Borderou de evaluare (job #1861926) | Borderou de evaluare (job #1082682) | Borderou de evaluare (job #1040610) | Borderou de evaluare (job #1080859) | Borderou de evaluare (job #1851931)
Borderou de evaluare (job #1851931)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:15: warning: unused variable ‘l’ [-Wunused-variable]
int n,i,k,l,lmax,x,baza,bazmax,a=1,b=1;
^
user.cpp:11:17: warning: unused variable ‘lmax’ [-Wunused-variable]
int n,i,k,l,lmax,x,baza,bazmax,a=1,b=1;
^
user.cpp:9: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:10: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:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:24:13: warning: ‘bazmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(baza>bazmax||i==k)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 4ms | 272kb | OK | 10 |
| 3 | 20ms | 272kb | OK | 10 |
| 4 | 24ms | 268kb | OK | 10 |
| 5 | 28ms | 264kb | OK | 10 |
| 6 | 36ms | 268kb | OK | 10 |
| 7 | 60ms | 272kb | OK | 10 |
| 8 | 96ms | 272kb | OK | 10 |
| 9 | Depăşit | 248kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 240kb | Time limit exceeded. | 0 |
| Punctaj total | 80 |