Pagini recente » Diferente pentru problema/heist intre reviziile 48 si 47 | Diferente pentru problema/hoata2 intre reviziile 32 si 31 | Borderou de evaluare (job #1573266) | Borderou de evaluare (job #997330) | Borderou de evaluare (job #1266107)
Borderou de evaluare (job #1266107)
Raport evaluator
Compilare:
user.cpp: In function ‘bool is_good(int)’:
user.cpp:14:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (st.size() + (n - i + 1) > m);
^
user.cpp: In function ‘int main()’:
user.cpp:18:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in", "r", stdin);
^
user.cpp:19:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out", "w", stdout);
^
user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK | 10 |
| 2 | 0ms | 416kb | OK | 10 |
| 3 | 0ms | 420kb | OK | 10 |
| 4 | 0ms | 428kb | OK | 10 |
| 5 | 0ms | 432kb | OK | 10 |
| 6 | 4ms | 588kb | OK | 10 |
| 7 | 4ms | 516kb | OK | 10 |
| 8 | 40ms | 2664kb | OK | 10 |
| 9 | 40ms | 4908kb | OK | 10 |
| 10 | 44ms | 2892kb | OK | 10 |
| Punctaj total | 100 |