Pagini recente » Borderou de evaluare (job #596399) | Borderou de evaluare (job #1232171) | Borderou de evaluare (job #102953) | Borderou de evaluare (job #3288476) | Borderou de evaluare (job #2034961)
Borderou de evaluare (job #2034961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<st.size();++i)
^
user.cpp:22:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j,x;
^
user.cpp:36:9: warning: unused variable ‘top’ [-Wunused-variable]
int top=0;
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:20:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:24: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:27:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x),allsum+=x,sp[i] = sp[i-1] + x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 360kb | OK | 10 |
6 | 0ms | 376kb | OK | 10 |
7 | 8ms | Depăşit | Memory limit exceeded. | 0 |
8 | 16ms | Depăşit | Memory limit exceeded. | 0 |
9 | 8ms | Depăşit | Memory limit exceeded. | 0 |
10 | 4ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 60 |