Pagini recente » Borderou de evaluare (job #617062) | Borderou de evaluare (job #2585965) | Borderou de evaluare (job #1740957) | Borderou de evaluare (job #3215411) | Borderou de evaluare (job #1292340)
Borderou de evaluare (job #1292340)
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);
^
user.cpp:13:32: warning: ‘lc’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int n,i,j,xf,yf,nt=0,am=-1,lc,inc=70,sf=-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 264kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 268kb | OK | 5 |
6 | 0ms | 268kb | OK | 5 |
7 | 0ms | 264kb | OK | 5 |
8 | 0ms | 268kb | OK | 5 |
9 | 0ms | 272kb | OK | 5 |
10 | 0ms | 264kb | OK | 5 |
11 | 0ms | 264kb | OK | 5 |
12 | 0ms | 264kb | OK | 5 |
13 | 0ms | 268kb | OK | 5 |
14 | 0ms | 264kb | OK | 5 |
15 | 0ms | 264kb | OK | 5 |
16 | 0ms | 264kb | OK | 5 |
17 | 0ms | 268kb | OK | 5 |
18 | 0ms | 264kb | OK | 5 |
19 | 0ms | 264kb | OK | 5 |
20 | 0ms | 268kb | OK | 5 |
Punctaj total | 100 |