Pagini recente » Borderou de evaluare (job #175800) | Borderou de evaluare (job #848869) | Borderou de evaluare (job #2439009) | Borderou de evaluare (job #1336745) | Borderou de evaluare (job #2272203)
Borderou de evaluare (job #2272203)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tnia.in","r",stdin);
^
main.cpp:10:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tnia.out","w",stdout);
^
main.cpp:12:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:18:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&k);
^
main.cpp:22:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&a,&b,&c,&d);
^
main.cpp:49:43: warning: array subscript is below array bounds [-Warray-bounds]
printf("%d\n",v[c]-v[poz-1]-(b-1)*(c-poz+1)-s);
~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 10 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 11ms | 262kb | Incorect | 0 |
6 | 22ms | 262kb | Incorect | 0 |
7 | 35ms | 393kb | Incorect | 0 |
8 | 46ms | 524kb | Corect | 4 |
9 | 11ms | 131kb | Incorect | 0 |
10 | 11ms | 131kb | Incorect | 0 |
11 | 11ms | 131kb | Incorect | 0 |
12 | 11ms | 131kb | Incorect | 0 |
13 | 703ms | 655kb | Time limit exceeded | 0 |
14 | 700ms | 655kb | Time limit exceeded | 0 |
15 | 703ms | 655kb | Time limit exceeded | 0 |
16 | 703ms | 655kb | Time limit exceeded | 0 |
17 | 703ms | 655kb | Time limit exceeded | 0 |
18 | 703ms | 655kb | Time limit exceeded | 0 |
19 | 700ms | 655kb | Time limit exceeded | 0 |
Punctaj total | 14 |