Pagini recente » Borderou de evaluare (job #379136) | Borderou de evaluare (job #478014) | Borderou de evaluare (job #1236067) | Borderou de evaluare (job #2370578) | Borderou de evaluare (job #2304158)
Borderou de evaluare (job #2304158)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:17: warning: variable 'x' set but not used [-Wunused-but-set-variable]
int n,vf=-1,x;
^
main.cpp:7:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.in","r",stdin);
^
main.cpp:8:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("xspe.out","w",stdout);
^
main.cpp:10:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:12:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[j]);
^
main.cpp:28:19: warning: array subscript is below array bounds [-Warray-bounds]
s[vf++]=v[i];
~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 142ms | 2752kb | OK | 10 |
4 | 273ms | 5373kb | OK | 10 |
5 | 262ms | 5373kb | OK | 10 |
6 | 468ms | 9306kb | OK | 10 |
7 | 532ms | 10747kb | OK | 10 |
8 | 702ms | 12713kb | Time limit exceeded | 0 |
9 | 703ms | 11665kb | Time limit exceeded | 0 |
10 | 652ms | 13369kb | OK | 10 |
Punctaj total | 80 |