Pagini recente » Borderou de evaluare (job #2241716) | Borderou de evaluare (job #827948) | Borderou de evaluare (job #1383127) | Borderou de evaluare (job #1538764) | Borderou de evaluare (job #1262281)
Borderou de evaluare (job #1262281)
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 | 424kb | OK | 10 |
| 3 | 0ms | 424kb | OK | 10 |
| 4 | 0ms | 424kb | OK | 10 |
| 5 | 0ms | 428kb | OK | 10 |
| 6 | 4ms | 596kb | OK | 10 |
| 7 | 4ms | 508kb | OK | 10 |
| 8 | 40ms | 2668kb | OK | 10 |
| 9 | 40ms | 4908kb | OK | 10 |
| 10 | 40ms | 2884kb | OK | 10 |
| Punctaj total | 100 |