Pagini recente » Borderou de evaluare (job #463632) | Borderou de evaluare (job #1734849) | Borderou de evaluare (job #876099) | Borderou de evaluare (job #897217) | Borderou de evaluare (job #2393354)
Borderou de evaluare (job #2393354)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:76:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n",ans-ans1);
^
main.cpp:27:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.in","r",stdin);
^
main.cpp:28:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("dif2.out","w",stdout);
^
main.cpp:31:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cer,&n);
^
main.cpp:33:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&p1,&p2);
^
main.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:76:11: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n",ans-ans1);
~~~~~~^~~~~~~~~~~~~~~~~
main.cpp:76:11: warning: 'ans1' may be used uninitialized in this function [-Wmaybe-uninitialized]
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 144ms | 1310kb | OK | 5 |
| 2 | 125ms | 1048kb | OK | 5 |
| 3 | 88ms | 786kb | OK | 5 |
| 4 | 88ms | 786kb | OK | 5 |
| 5 | 120ms | 1048kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 47ms | 262kb | OK | 5 |
| 9 | 55ms | 262kb | OK | 5 |
| 10 | 15ms | 131kb | OK | 5 |
| 11 | 65ms | 262kb | OK | 5 |
| 12 | 44ms | 262kb | OK | 5 |
| 13 | 55ms | 262kb | OK | 5 |
| 14 | 182ms | 917kb | Incorect | 0 |
| 15 | 238ms | 1310kb | Incorect | 0 |
| 16 | 149ms | 786kb | Incorect | 0 |
| 17 | 227ms | 1179kb | Incorect | 0 |
| 18 | 188ms | 1048kb | Incorect | 0 |
| 19 | 152ms | 786kb | Incorect | 0 |
| 20 | 53ms | 524kb | OK | 5 |
| Punctaj total | 70 |