Pagini recente » Borderou de evaluare (job #1570585) | Borderou de evaluare (job #1527783) | Borderou de evaluare (job #2188821) | Cod sursa (job #1843667) | Borderou de evaluare (job #1560644)
Borderou de evaluare (job #1560644)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sorting(eu, eu)’:
user.cpp:9:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a.x<b.x||a.x==b.x&&a.y<b.y)
^
user.cpp: In function ‘int main()’:
user.cpp:15:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist2.in","r",stdin);
^
user.cpp:16:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dist2.out","w",stdout);
^
user.cpp:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:19:34: 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);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | OK | 10 |
| 2 | 92ms | 1040kb | OK | 10 |
| 3 | 4ms | 300kb | OK | 10 |
| 4 | 8ms | 336kb | OK | 10 |
| 5 | 12ms | 376kb | OK | 10 |
| 6 | 16ms | 420kb | OK | 10 |
| 7 | 28ms | 492kb | OK | 10 |
| 8 | 64ms | 804kb | OK | 10 |
| 9 | 72ms | 892kb | OK | 10 |
| 10 | 84ms | 964kb | OK | 10 |
| Punctaj total | 100 |