Pagini recente » Borderou de evaluare (job #1269605) | Borderou de evaluare (job #28861) | Borderou de evaluare (job #2803606) | Borderou de evaluare (job #387961) | Borderou de evaluare (job #1515189)
Borderou de evaluare (job #1515189)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.in","r",stdin);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("morcovi.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:12:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&b[0][i]);
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&sal);
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&s[i]);
^
user.cpp:37:29: warning: iteration 1000u invokes undefined behavior [-Waggressive-loop-optimizations]
if(b[((1<<sal)-1)][i]>mx)mx=b[((1<<sal)-1)][i];
^
user.cpp:36:5: note: containing loop
for(i=1;i<=1005;i++)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | Incorect | 0 |
2 | 8ms | 864kb | Incorect | 0 |
3 | 20ms | 1380kb | OK | 10 |
4 | 8ms | 1348kb | OK | 10 |
5 | 0ms | 924kb | OK | 10 |
6 | 208ms | 8408kb | OK | 10 |
7 | 384ms | 16416kb | OK | 10 |
8 | 380ms | 16424kb | Incorect | 0 |
9 | 248ms | Depăşit | Memory limit exceeded. | 0 |
10 | 300ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 50 |