Pagini recente » Borderou de evaluare (job #539689) | Borderou de evaluare (job #2860758) | Borderou de evaluare (job #3143206) | Borderou de evaluare (job #381769) | Borderou de evaluare (job #2234518)
Borderou de evaluare (job #2234518)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:122:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",res);
^
user.cpp:69:29: warning: variable ‘nrr0’ set but not used [-Wunused-but-set-variable]
int i,st,dr,mid,cnt,nr0,nrr0,lim;
^~~~
user.cpp:66:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii3.in","r",stdin);
^
user.cpp:67:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("copii3.out","w",stdout);
^
user.cpp:72:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&Q);
^
user.cpp:73:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",str);
^
user.cpp:90:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&L,&R);
^
user.cpp:69:21: warning: ‘cnt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,st,dr,mid,cnt,nr0,nrr0,lim;
^~~
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| ✓ | 1 | 12ms | 7468kb | Incorect | 0 | 0 |
| ✓ | 2 | 12ms | 7468kb | Incorect | 0 |
| ✓ | 3 | 12ms | 7468kb | Incorect | 0 |
| ✓ | 4 | 12ms | 7468kb | Incorect | 0 |
| ✓ | 5 | Depăşit | 7660kb | Time limit exceeded. | 0 | 0 |
| ✓ | 6 | Depăşit | 7656kb | Time limit exceeded. | 0 |
| ✓ | 7 | Depăşit | 7660kb | Time limit exceeded. | 0 |
| ✓ | 8 | Depăşit | 7660kb | Time limit exceeded. | 0 |
| ✓ | 9 | Depăşit | 7852kb | Time limit exceeded. | 0 | 0 |
| ✓ | 10 | Depăşit | 7852kb | Time limit exceeded. | 0 |
| ✓ | 11 | Depăşit | 7856kb | Time limit exceeded. | 0 |
| ✓ | 12 | Depăşit | 7856kb | Time limit exceeded. | 0 |
| ✗ | 13 | Depăşit | 7856kb | Time limit exceeded. | 0 | 0 |
| ✗ | 14 | Depăşit | 7856kb | Time limit exceeded. | 0 |
| ✗ | 15 | Depăşit | 7856kb | Time limit exceeded. | 0 |
| ✓ | 16 | Depăşit | 7852kb | Time limit exceeded. | 0 |
| ✓ | 17 | Depăşit | 9128kb | Time limit exceeded. | 0 | 0 |
| ✗ | 18 | Depăşit | 9128kb | Time limit exceeded. | 0 |
| ✗ | 19 | Depăşit | 9128kb | Time limit exceeded. | 0 |
| ✗ | 20 | Depăşit | 9128kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |