Pagini recente » Borderou de evaluare (job #2888972) | Borderou de evaluare (job #611130) | Borderou de evaluare (job #804312) | Borderou de evaluare (job #2740885) | Borderou de evaluare (job #1238885)
Borderou de evaluare (job #1238885)
Raport evaluator
Compilare:
user.cpp: In function ‘int inc(int&)’:
user.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:76:22: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a && inter(a,v[i].x,v[i].y) || inter(a,v[i].x+w,v[i].y) || inter(a,v[i].x,v[i].y+h) || inter(a,v[i].x+w,v[i].y+h)) {ok=1;break;}
^
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta2.in", "r", stdin);
^
user.cpp:54:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harta2.out", "w", stdout);
^
user.cpp:55:33: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(pars,1,10000000,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 4356kb | Okay | 10 |
2 | 32ms | 4360kb | Okay | 10 |
3 | 36ms | 4368kb | Okay | 10 |
4 | 88ms | 4568kb | Okay | 10 |
5 | 252ms | 5192kb | Okay | 10 |
6 | Depăşit | 5564kb | Time limit exceeded. | 0 |
7 | 500ms | 5836kb | Okay | 10 |
8 | 460ms | 5712kb | Wrong | 0 |
9 | Depăşit | 5888kb | Time limit exceeded. | 0 |
10 | Depăşit | 6308kb | Time limit exceeded. | 0 |
Punctaj total | 60 |