Pagini recente » Borderou de evaluare (job #1692545) | Borderou de evaluare (job #224651) | Borderou de evaluare (job #1197530) | Borderou de evaluare (job #2486647) | Borderou de evaluare (job #1258760)
Borderou de evaluare (job #1258760)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(x<=b[j])q++,x=x*1LL*2;
^
user.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(mx<x)break;
^
user.cpp:11:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in","r",stdin);
^
user.cpp:12:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out","w",stdout);
^
user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:14:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d",&a[i]);
^
user.cpp:15:55: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++)scanf("%d",&b[i]),mx=max(mx,b[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 264kb | OK | 10 |
| 3 | 4ms | 272kb | OK | 10 |
| 4 | 4ms | 272kb | OK | 10 |
| 5 | Depăşit | 1036kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 1032kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1036kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1036kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1040kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |