Pagini recente » Borderou de evaluare (job #3195337) | Borderou de evaluare (job #1795366)
Borderou de evaluare (job #1795366)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,N,K,ans=0;
^
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.in","r",stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elemente.out","w",stdout);
^
user.cpp:30:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&K);
^
user.cpp:31:46: 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",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 652kb | OK | 10 |
2 | 0ms | 656kb | OK | 10 |
3 | 0ms | 656kb | OK | 10 |
4 | 0ms | 652kb | OK | 10 |
5 | 20ms | 768kb | OK | 10 |
6 | 16ms | 772kb | OK | 10 |
7 | 28ms | 848kb | OK | 10 |
8 | 40ms | 932kb | OK | 10 |
9 | 48ms | 1004kb | OK | 10 |
10 | 56ms | 1040kb | OK | 10 |
Punctaj total | 100 |