Pagini recente » Borderou de evaluare (job #1660743) | Borderou de evaluare (job #1427648) | Borderou de evaluare (job #1166399) | Borderou de evaluare (job #300963) | Borderou de evaluare (job #1514295)
Borderou de evaluare (job #1514295)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("fence.in","r",stdin);freopen("fence.out","w",stdout);
^
user.cpp:6:63: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("fence.in","r",stdin);freopen("fence.out","w",stdout);
^
user.cpp:7:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d %d %d\n",&p,&nl,&nc,&pret,&cn,&cs,&lv,&le);
^
user.cpp:9:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=nc;j++){scanf("%d",&x);a[i][j]=x-pret;if (i<lv && j<cn);else if(i<le && j>cn);else if(i>lv && j<cs);else if(i>le && j>cs);else smax+=a[i][j];}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 2236kb | OK! | 4 |
2 | 68ms | 2236kb | OK! | 4 |
3 | 24ms | 1448kb | OK! | 4 |
4 | 12ms | 1056kb | OK! | 4 |
5 | 56ms | 2232kb | OK! | 4 |
6 | 0ms | 292kb | OK! | 6 |
7 | 0ms | 300kb | OK! | 6 |
8 | 0ms | 316kb | OK! | 6 |
9 | 0ms | 332kb | OK! | 6 |
10 | 0ms | 336kb | OK! | 6 |
11 | 24ms | 1452kb | OK! | 5 |
12 | 24ms | 1448kb | OK! | 5 |
13 | 24ms | 1448kb | OK! | 5 |
14 | 24ms | 1448kb | OK! | 5 |
15 | 64ms | 2624kb | OK! | 5 |
16 | 80ms | 2624kb | OK! | 5 |
17 | 64ms | 2628kb | OK! | 5 |
18 | 272ms | 4192kb | OK! | 5 |
19 | 280ms | 4196kb | OK! | 5 |
20 | 276ms | 4196kb | OK! | 5 |
Punctaj total | 100 |