Pagini recente » Borderou de evaluare (job #2318764) | Borderou de evaluare (job #3277099) | Borderou de evaluare (job #424557) | Borderou de evaluare (job #998383) | Borderou de evaluare (job #2655903)
Borderou de evaluare (job #2655903)
Raport evaluator
Compilare:
main.cpp: In member function 'bool Query::operator<(const Query&) const':
main.cpp:50:61: warning: comparison of constant '250' with boolean expression is always true [-Wbool-compare]
if(l / BLOCK != aux.l / BLOCK) return l / BLOCK < aux.l < BLOCK;
~~~~~~~~~~~~~~~~~~^~~~~~~
main.cpp:50:53: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
if(l / BLOCK != aux.l / BLOCK) return l / BLOCK < aux.l < BLOCK;
~~~~~~~~~~^~~~~~~
main.cpp: In function 'int main()':
main.cpp:98:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitywar.in", "r", stdin);
^
main.cpp:99:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitywar.out", "w", stdout);
^
main.cpp:100:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:104:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:107:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:114:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 1310kb | OK | 10 |
2 | 32ms | 1835kb | Killed by Signal 11 | 0 |
3 | 59ms | 2228kb | Killed by Signal 11 | 0 |
4 | 167ms | 3436kb | Killed by Signal 11 | 0 |
5 | 168ms | 3444kb | Killed by Signal 11 | 0 |
6 | 173ms | 3768kb | Killed by Signal 11 | 0 |
7 | 171ms | 4194kb | Killed by Signal 11 | 0 |
8 | 186ms | 4456kb | Killed by Signal 11 | 0 |
9 | 246ms | 4755kb | Killed by Signal 11 | 0 |
10 | 194ms | 4993kb | Killed by Signal 11 | 0 |
Punctaj total | 10 |