Pagini recente » Borderou de evaluare (job #1035269) | Borderou de evaluare (job #245790) | Borderou de evaluare (job #2110576) | Borderou de evaluare (job #2395039) | Borderou de evaluare (job #2430052)
Borderou de evaluare (job #2430052)
Raport evaluator
Compilare:
main.cpp: In function 'bool check(int)':
main.cpp:13:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(t); i++) {
~~^~~~~~~~~~~
main.cpp:15:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pos + mid - 1 >= vec[t[i] - 'a'].size()) return false;
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:23:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("balbaiala.in", "r", stdin);
^
main.cpp:24:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("balbaiala.out", "w", stdout);
^
main.cpp:27:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s", &n, &q, s);
^
main.cpp:30:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 25ms | 262kb | OK | 10 | 20 |
4 | 29ms | 262kb | OK | 10 |
5 | 338ms | 524kb | OK | 10 | 30 |
6 | 501ms | 524kb | OK | 10 |
7 | 674ms | 524kb | OK | 10 |
8 | 700ms | 1044kb | Time limit exceeded | 0 | 0 |
9 | 492ms | 1044kb | OK | 10 |
10 | 700ms | 1441kb | Time limit exceeded | 0 |
Punctaj total | 70 |