Borderou de evaluare (job #2549030)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:42:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (step + pos < psm[i].size() && psm[i][step + pos] <= poz) {
~~~~~~~~~~~^~~~~~~~~~~~~~~
main.cpp:12:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zzid.in", "r", stdin) ;
^
main.cpp:13:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zzid.out", "w", stdout) ;
^
main.cpp:50:42: warning: 'poz' may be used uninitialized in this function [-Wmaybe-uninitialized]
std::cout << cnt << ' ' << abs(W - 2 * poz) ;
~~^~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 7ms | 2490kb | Incorect | 0 |
| 2 | 7ms | 2490kb | OK | 5 |
| 3 | 8ms | 2490kb | Incorect | 0 |
| 4 | 9ms | 2621kb | OK | 5 |
| 5 | 10ms | 2621kb | Incorect | 0 |
| 6 | 11ms | 2621kb | OK | 5 |
| 7 | 13ms | 2752kb | Incorect | 0 |
| 8 | 15ms | 2752kb | OK | 5 |
| 9 | 1327ms | 36847kb | Incorect | 0 |
| 10 | 1373ms | 36716kb | OK | 5 |
| 11 | 1531ms | 47333kb | Incorect | 0 |
| 12 | 1546ms | 47202kb | OK | 5 |
| 13 | 1669ms | 48513kb | Incorect | 0 |
| 14 | 1735ms | 48250kb | Incorect | 0 |
| 15 | 2008ms | 48250kb | Incorect | 0 |
| 16 | 2152ms | 48119kb | Incorect | 0 |
| 17 | 2069ms | 47886kb | Incorect | 0 |
| 18 | 1798ms | 47726kb | Incorect | 0 |
| 19 | 1810ms | 47595kb | Incorect | 0 |
| 20 | 1789ms | 47595kb | Incorect | 0 |
| Punctaj total | 30 |