Pagini recente » Borderou de evaluare (job #3238663) | Borderou de evaluare (job #2082799) | Borderou de evaluare (job #254180) | Borderou de evaluare (job #319800) | Borderou de evaluare (job #1276360)
Borderou de evaluare (job #1276360)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:15: warning: unused variable ‘b’ [-Wunused-variable]
int i,j,k,b[Nmax],l1,l2;
^
user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ksecv.in","r",stdin);
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("ksecv.out","w",stdout);
^
user.cpp:51: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:52:41: 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]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 288kb | OK | 10 | 100 |
| 2 | 0ms | 316kb | OK | 10 |
| 3 | 72ms | 984kb | OK | 10 |
| 4 | 64ms | 1644kb | OK | 10 |
| 5 | 28ms | 2084kb | OK | 10 |
| 6 | 160ms | 2476kb | OK | 10 |
| 7 | 36ms | 2988kb | OK | 10 |
| 8 | 296ms | 2992kb | OK | 10 |
| 9 | 212ms | 2940kb | OK | 10 |
| 10 | 76ms | 2988kb | OK | 10 |
| Punctaj total | 100 |