Pagini recente » Borderou de evaluare (job #1359661) | Borderou de evaluare (job #3189660) | Borderou de evaluare (job #2988206) | Borderou de evaluare (job #1030932) | Borderou de evaluare (job #1727344)
Borderou de evaluare (job #1727344)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:40: 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:36:42: 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:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:42:96: 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].p1.x, &v[i].p1.y, &v[i].p2.x, &v[i].p2.y, &v[i].p3.x, &v[i].p3.y);
^
user.cpp:43:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &f.x, &f.y);
^
user.cpp:65:42: warning: ‘maxt’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (!(punctInterior(maxt, v[i].p1)&&punctInterior(maxt, v[i].p2)&&punctInterior(maxt, v[i].p3)))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 5 |
2 | 0ms | 284kb | OK | 5 |
3 | 0ms | 284kb | OK | 5 |
4 | 0ms | 284kb | OK | 5 |
5 | 0ms | 284kb | OK | 5 |
6 | 0ms | 284kb | OK | 5 |
7 | 0ms | 284kb | OK | 5 |
8 | 0ms | 284kb | OK | 5 |
9 | 0ms | 288kb | OK | 5 |
10 | 0ms | 288kb | OK | 5 |
11 | 0ms | 284kb | Incorect | 0 |
12 | 0ms | 284kb | OK | 5 |
13 | 0ms | 280kb | OK | 5 |
14 | 0ms | 284kb | OK | 5 |
15 | 0ms | 280kb | OK | 5 |
16 | 0ms | 284kb | OK | 5 |
17 | 0ms | 280kb | Incorect | 0 |
18 | 0ms | 280kb | OK | 5 |
19 | 0ms | 284kb | OK | 5 |
20 | 0ms | 284kb | OK | 5 |
Punctaj total | 90 |