Pagini recente » Borderou de evaluare (job #750096) | Borderou de evaluare (job #2914541) | Borderou de evaluare (job #826262) | Borderou de evaluare (job #1409999) | Borderou de evaluare (job #2408474)
Borderou de evaluare (job #2408474)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ",ans.size());
^
main.cpp:49:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<ans.size();++i)
~^~~~~~~~~~~
main.cpp:29:35: 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);
^
main.cpp:30:37: 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);
^
main.cpp:33:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:36:102: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld%lld%lld%lld",&v[i].a.x,&v[i].a.y,&v[i].b.x,&v[i].b.y,&v[i].c.x,&v[i].c.y);
^
main.cpp:41:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld",&fant.x,&fant.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 2ms | 131kb | OK | 5 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | OK | 5 |
| 6 | 2ms | 131kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 2ms | 131kb | OK | 5 |
| 9 | 2ms | 131kb | OK | 5 |
| 10 | 2ms | 131kb | OK | 5 |
| 11 | 2ms | 131kb | OK | 5 |
| 12 | 2ms | 131kb | OK | 5 |
| 13 | 2ms | 131kb | OK | 5 |
| 14 | 2ms | 131kb | OK | 5 |
| 15 | 2ms | 131kb | OK | 5 |
| 16 | 2ms | 131kb | OK | 5 |
| 17 | 2ms | 131kb | OK | 5 |
| 18 | 2ms | 131kb | OK | 5 |
| 19 | 2ms | 131kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 100 |