Pagini recente » Borderou de evaluare (job #3239789) | Borderou de evaluare (job #2972785) | Borderou de evaluare (job #1839428) | Borderou de evaluare (job #1727858) | Borderou de evaluare (job #2436297)
Borderou de evaluare (job #2436297)
Raport evaluator
Compilare:
main.cpp: In function 'int solve(int, int)':
main.cpp:36:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st >= v[t].size() - 1) st = v[t].size() - 1;
~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:83:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j < v[i].size() ; ++j){
~~^~~~~~~~~~~~~
main.cpp:79:13: warning: unused variable 'L' [-Wunused-variable]
int L = v[i].size();
^
main.cpp:62:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.in", "r", stdin);
^
main.cpp:63:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arb3.out", "w", stdout);
^
main.cpp:65:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &q);
^
main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:75:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &val[i]);
^
main.cpp:93:30: 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 | 7ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 29ms | 2883kb | OK | 10 |
4 | 52ms | 3407kb | OK | 10 |
5 | 156ms | 4976kb | OK | 10 |
6 | 195ms | 5500kb | OK | 10 |
7 | 202ms | 5763kb | OK | 10 |
8 | 209ms | 6156kb | OK | 10 |
9 | 243ms | 6549kb | OK | 10 |
10 | 232ms | 6549kb | OK | 10 |
Punctaj total | 100 |