Pagini recente » Borderou de evaluare (job #2323230) | Borderou de evaluare (job #2609216) | Borderou de evaluare (job #1776077) | Borderou de evaluare (job #1777022) | Borderou de evaluare (job #1839316)
Borderou de evaluare (job #1839316)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:14: warning: unused variable ‘e’ [-Wunused-variable]
int n,nr,e,i,x,y,max,t,pp;
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triunghi2.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d",&v[i].a1,&v[i].b1,&v[i].a2,&v[i].b2,&v[i].a3,&v[i].b3);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:41:62: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
s2=(float)abs(v[t].a1*v[i].b1+v[i].a1*v[t].b3+v[t].a3*v[t].b1-v[t].a3*v[i].b1-v[t].a1*v[t].b3-v[i].a1*v[t].b1)/2;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 5 |
| 2 | 0ms | 268kb | OK | 5 |
| 3 | 0ms | 268kb | OK | 5 |
| 4 | 0ms | 272kb | OK | 5 |
| 5 | 0ms | 272kb | OK | 5 |
| 6 | 0ms | 272kb | OK | 5 |
| 7 | 0ms | 260kb | OK | 5 |
| 8 | 0ms | 264kb | OK | 5 |
| 9 | 0ms | 268kb | OK | 5 |
| 10 | 0ms | 264kb | OK | 5 |
| 11 | 0ms | 264kb | OK | 5 |
| 12 | 0ms | 264kb | OK | 5 |
| 13 | 0ms | 260kb | OK | 5 |
| 14 | 0ms | 264kb | OK | 5 |
| 15 | 0ms | 268kb | OK | 5 |
| 16 | 0ms | 264kb | OK | 5 |
| 17 | 0ms | 264kb | OK | 5 |
| 18 | 0ms | 264kb | OK | 5 |
| 19 | 0ms | 268kb | OK | 5 |
| 20 | 0ms | 268kb | OK | 5 |
| Punctaj total | 100 |