Pagini recente » Borderou de evaluare (job #3219527) | Borderou de evaluare (job #931570) | Borderou de evaluare (job #115724) | Borderou de evaluare (job #2182258) | Borderou de evaluare (job #2408469)
Borderou de evaluare (job #2408469)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:48:29: 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\n",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:90: 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].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:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&fant.x,&fant.y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | Incorect | 0 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | Incorect | 0 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 2ms | 262kb | Incorect | 0 |
| 14 | 2ms | 262kb | OK | 5 |
| 15 | 2ms | 131kb | Incorect | 0 |
| 16 | 2ms | 131kb | Incorect | 0 |
| 17 | 2ms | 131kb | Incorect | 0 |
| 18 | 2ms | 131kb | Incorect | 0 |
| 19 | 2ms | 131kb | Incorect | 0 |
| 20 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 5 |