Pagini recente » Borderou de evaluare (job #2112492) | Borderou de evaluare (job #2105125) | Borderou de evaluare (job #3181173) | Borderou de evaluare (job #1689212) | Borderou de evaluare (job #2607193)
Borderou de evaluare (job #2607193)
Raport evaluator
Compilare:
main.cpp: In function 'void prec(int)':
main.cpp:56:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(reVal[nod] == down[which[nod]].size()) down[which[nod]].push_back(0);
~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:126:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("meow.in", "r", stdin);
^
main.cpp:127:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("meow.out", "w", stdout);
^
main.cpp:129:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &n, &l, &q);
^
main.cpp:133:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); ++x;
^
main.cpp:137:81: 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", &val[i]), reVal[i] = l - val[i] + 1;
^
main.cpp:142:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &newVal[nod]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 12ms | 4980kb | OK | 5 |
| 2 | 12ms | 4980kb | OK | 5 |
| 3 | 12ms | 4980kb | OK | 5 |
| 4 | 13ms | 4980kb | OK | 5 |
| 5 | 14ms | 5111kb | OK | 5 |
| 6 | 13ms | 5111kb | OK | 5 |
| 7 | 16ms | 5111kb | OK | 5 |
| 8 | 16ms | 5111kb | OK | 5 |
| 9 | 19ms | 5242kb | OK | 5 |
| 10 | 20ms | 5505kb | OK | 5 |
| 11 | 87ms | 10223kb | OK | 5 |
| 12 | 102ms | 12451kb | OK | 5 |
| 13 | 130ms | 12713kb | OK | 5 |
| 14 | 144ms | 14942kb | OK | 5 |
| 15 | 144ms | 12976kb | OK | 5 |
| 16 | 140ms | 12845kb | OK | 5 |
| 17 | 177ms | 16121kb | OK | 5 |
| 18 | 183ms | 15990kb | OK | 5 |
| 19 | 195ms | 17956kb | OK | 5 |
| 20 | 211ms | 15765kb | OK | 5 |
| Punctaj total | 100 |