Pagini recente » Borderou de evaluare (job #2506431) | Borderou de evaluare (job #2382544) | Borderou de evaluare (job #921857) | Borderou de evaluare (job #2082244) | Borderou de evaluare (job #1547595)
Borderou de evaluare (job #1547595)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trenul.out","w",stdout);
^
user.cpp:14:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:25:26: warning: array subscript is above array bounds [-Warray-bounds]
raspuns2[i][2]=loc+1;
^
user.cpp:35:34: warning: array subscript is above array bounds [-Warray-bounds]
raspuns3[i][3]=loc+2;
^
user.cpp:52:34: warning: array subscript is above array bounds [-Warray-bounds]
raspuns3[i][3]=loc+2;
^
user.cpp:60:34: warning: array subscript is above array bounds [-Warray-bounds]
raspuns3[i][3]=loc+2;
^
user.cpp:74:73: warning: array subscript is above array bounds [-Warray-bounds]
printf("%d %d\n",raspuns2[cnt[2]][1],raspuns2[cnt[2]][2]);
^
user.cpp:77:96: warning: array subscript is above array bounds [-Warray-bounds]
printf("%d %d %d\n",raspuns3[cnt[3]][1],raspuns3[cnt[3]][2],raspuns3[cnt[3]][3]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | Corect | 10 |
2 | 0ms | 328kb | Corect | 10 |
3 | 8ms | 440kb | Corect | 10 |
4 | 12ms | 576kb | Corect | 10 |
5 | 24ms | 740kb | Corect | 10 |
6 | 28ms | 888kb | Corect | 10 |
7 | 28ms | 864kb | Corect | 10 |
8 | 32ms | 900kb | Corect | 10 |
9 | 32ms | 948kb | Corect | 10 |
10 | 32ms | 888kb | Corect | 10 |
Punctaj total | 100 |