Pagini recente » Borderou de evaluare (job #2781537) | Borderou de evaluare (job #1567148) | Cod sursa (job #950393) | Borderou de evaluare (job #1911427) | Borderou de evaluare (job #1555356)
Borderou de evaluare (job #1555356)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sortare(aa, aa)’:
user.cpp:7:21: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses]
{if(a.x<b.x||a.x==b.x&a.y<b.y)
^
user.cpp: In function ‘int main()’:
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("cuburi3.in","r",stdin);
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cuburi3.out","w",stdout);
^
user.cpp:16:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d%d",&v[i].x,&v[i].y);
^
user.cpp:55:1: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i=1;i<=k;i++)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 280kb | OK | 10 |
| 6 | 0ms | 288kb | OK | 10 |
| 7 | 0ms | 288kb | OK | 10 |
| 8 | 4ms | 292kb | OK | 10 |
| 9 | 4ms | 296kb | OK | 10 |
| 10 | 64ms | 352kb | OK | 10 |
| Punctaj total | 100 |