Pagini recente » Borderou de evaluare (job #498562) | Borderou de evaluare (job #2577714) | Borderou de evaluare (job #869917) | Borderou de evaluare (job #623229) | Borderou de evaluare (job #1956183)
Borderou de evaluare (job #1956183)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv7.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:39: 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]);
^
user.cpp:17:37: warning: array subscript is below array bounds [-Warray-bounds]
printf("%d\n",v[1]+v[n-1]+v[n]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 236kb | Raspuns Gresit! | 0 | 0 |
2 | 0ms | 264kb | Raspuns Gresit! | 0 |
3 | 0ms | 268kb | Raspuns Gresit! | 0 |
4 | 0ms | 276kb | Raspuns Gresit! | 0 | 0 |
5 | 0ms | 284kb | Raspuns Gresit! | 0 | 0 |
6 | 0ms | 260kb | Wall time limit exceeded. | 0 | 0 |
7 | 0ms | 260kb | Wall time limit exceeded. | 0 | 0 |
8 | 0ms | 260kb | Wall time limit exceeded. | 0 | 0 |
9 | 0ms | 256kb | Wall time limit exceeded. | 0 | 0 |
10 | 0ms | 256kb | Wall time limit exceeded. | 0 | 0 |
Punctaj total | 0 |