Pagini recente » Borderou de evaluare (job #1770339) | Borderou de evaluare (job #2510287) | Borderou de evaluare (job #908289) | Borderou de evaluare (job #150832) | Borderou de evaluare (job #1702500)
Borderou de evaluare (job #1702500)
Raport evaluator
Compilare:
user.cpp: In function ‘void Maxify(int, int)’:
user.cpp:14:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(l<=hlenght&&v[l].end>v[pos].end||(v[l].end==v[pos].end&&v[l].val<v[pos].val))
^
user.cpp:18:15: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(r<=hlenght&&v[r].end>v[smallest].end||(v[r].end==v[smallest].end&&v[r].val<v[smallest].val))
^
user.cpp: In function ‘int main()’:
user.cpp:50:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("timbre.in","r",stdin);
^
user.cpp:51:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("timbre.out","w",stdout);
^
user.cpp:53:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&N,&M,&K);
^
user.cpp:55:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].end,&v[i].val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Bah, i-ai mancat inghetata fetei! | 0 |
2 | 0ms | 284kb | Bah, i-ai mancat inghetata fetei! | 0 |
3 | 0ms | 288kb | Bah, i-ai mancat inghetata fetei! | 0 |
4 | 0ms | 300kb | Bah, i-ai mancat inghetata fetei! | 0 |
5 | 0ms | 288kb | Bah, i-ai mancat inghetata fetei! | 0 |
6 | 0ms | 316kb | Bah, i-ai mancat inghetata fetei! | 0 |
7 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 4ms | 316kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 280kb | Bun asa... | 10 |
Punctaj total | 10 |