Pagini recente » Borderou de evaluare (job #2827702) | Cod sursa (job #2503536) | Borderou de evaluare (job #583977) | Borderou de evaluare (job #62526) | Borderou de evaluare (job #1292336)
Borderou de evaluare (job #1292336)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,xf,yf,nt=0,am=-1,lc,inc=70,sf=-1;
^
user.cpp:11: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:12: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:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18: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].x1,&v[i].y1,&v[i].x2,&v[i].y2,&v[i].x3,&v[i].y3);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&xf,&yf);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 5 |
| 2 | 0ms | 256kb | OK | 5 |
| 3 | 0ms | 260kb | OK | 5 |
| 4 | 0ms | 256kb | OK | 5 |
| 5 | 0ms | 256kb | OK | 5 |
| 6 | 0ms | 256kb | OK | 5 |
| 7 | 0ms | 252kb | OK | 5 |
| 8 | 0ms | 260kb | OK | 5 |
| 9 | 0ms | 256kb | OK | 5 |
| 10 | 0ms | 256kb | OK | 5 |
| 11 | 0ms | 248kb | Incorect | 0 |
| 12 | 0ms | 252kb | Incorect | 0 |
| 13 | 0ms | 256kb | OK | 5 |
| 14 | 0ms | 252kb | OK | 5 |
| 15 | 0ms | 256kb | OK | 5 |
| 16 | 0ms | 256kb | OK | 5 |
| 17 | 0ms | 252kb | Incorect | 0 |
| 18 | 0ms | 252kb | Incorect | 0 |
| 19 | 0ms | 256kb | OK | 5 |
| 20 | 0ms | 260kb | OK | 5 |
| Punctaj total | 80 |