Pagini recente » Borderou de evaluare (job #2045921) | Borderou de evaluare (job #530333) | Borderou de evaluare (job #1118477) | Borderou de evaluare (job #1865623) | Borderou de evaluare (job #2236716)
Borderou de evaluare (job #2236716)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41: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:42: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:46:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:48: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:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&P.x,&P.y);
^
user.cpp:73:9: warning: ‘j’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(i!=j)
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK | 5 |
2 | 0ms | 756kb | OK | 5 |
3 | 0ms | 800kb | OK | 5 |
4 | 0ms | 756kb | OK | 5 |
5 | 0ms | 796kb | OK | 5 |
6 | 0ms | 796kb | OK | 5 |
7 | 0ms | 864kb | OK | 5 |
8 | 0ms | 864kb | OK | 5 |
9 | 0ms | 808kb | OK | 5 |
10 | 0ms | 800kb | OK | 5 |
11 | 0ms | 756kb | OK | 5 |
12 | 0ms | 756kb | OK | 5 |
13 | 0ms | 856kb | OK | 5 |
14 | 0ms | 860kb | OK | 5 |
15 | 0ms | 872kb | OK | 5 |
16 | 0ms | 936kb | OK | 5 |
17 | 0ms | 812kb | OK | 5 |
18 | 0ms | 800kb | OK | 5 |
19 | 0ms | 936kb | OK | 5 |
20 | 0ms | 816kb | OK | 5 |
Punctaj total | 100 |