Pagini recente » Borderou de evaluare (job #2278944) | Borderou de evaluare (job #1715697) | Borderou de evaluare (job #264069) | Borderou de evaluare (job #1904353) | Borderou de evaluare (job #1767650)
Borderou de evaluare (job #1767650)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int)’:
user.cpp:24:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[poz].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:58:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int ii = 0; ii < g[poz].size(); ++ii)
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("oite.out", "w", stdout);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:39:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 404kb | OK | 10 |
2 | 4ms | 668kb | OK | 10 |
3 | 8ms | 1092kb | OK | 10 |
4 | 12ms | 1052kb | OK | 10 |
5 | 20ms | 1772kb | OK | 10 |
6 | 48ms | 2888kb | OK | 10 |
7 | 64ms | 4376kb | OK | 10 |
8 | 56ms | 4220kb | OK | 10 |
9 | Depăşit | 6352kb | Time limit exceeded. | 0 |
10 | 72ms | 5540kb | OK | 10 |
Punctaj total | 90 |