Pagini recente » Borderou de evaluare (job #805297) | Borderou de evaluare (job #1208517) | Borderou de evaluare (job #672016) | Borderou de evaluare (job #1121510) | Borderou de evaluare (job #1657089)
Borderou de evaluare (job #1657089)
Raport evaluator
Compilare:
user.cpp: In function ‘void printtreex(int, int, int)’:
user.cpp:66:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<arb[nod].x.size();i++) printf("%d ",arb[nod].x[i]);
^
user.cpp:66:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<point> >::value_type {aka point}’ [-Wformat=]
for (int i=0;i<arb[nod].x.size();i++) printf("%d ",arb[nod].x[i]);
^
user.cpp:74:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<arb[nod].x.size();i++) printf("%d ",arb[nod].x[i]);
^
user.cpp:74:73: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<point> >::value_type {aka point}’ [-Wformat=]
for (int i=0;i<arb[nod].x.size();i++) printf("%d ",arb[nod].x[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:170:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zoo.in","r",stdin);
^
user.cpp:171:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zoo.out","w",stdout);
^
user.cpp:173:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:175:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;i++) scanf("%d %d",&t[i].x,&t[i].y);
^
user.cpp:179:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);
^
user.cpp:182:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d",&x1,&y1,&x2,&y2); sol=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1420kb | OK | 10 |
2 | 0ms | 1420kb | OK | 10 |
3 | 108ms | 1580kb | OK | 10 |
4 | 24ms | 5784kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 28ms | 5760kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 28ms | 5764kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 28ms | 5784kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 24ms | 5760kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 56ms | 5780kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 5776kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 30 |