Pagini recente » Borderou de evaluare (job #1099548) | Borderou de evaluare (job #132078) | Borderou de evaluare (job #2203145) | Borderou de evaluare (job #2355235) | Borderou de evaluare (job #2076241)
Borderou de evaluare (job #2076241)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘unsigned int’ [-Wformat=]
printf("%ld\n", sol);
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.in","r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("abc2.out","w",stdout);
^
user.cpp:31:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:36:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", word);
^
user.cpp:56:62: warning: ‘len’ may be used uninitialized in this function [-Wmaybe-uninitialized]
hash = (hash - offset * (s[i - len] - 'a')) * 3 + s[i] - 'a';
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1436kb | OK | 10 | 100 |
2 | 0ms | 1428kb | OK | 10 |
3 | 0ms | 1464kb | OK | 10 |
4 | 4ms | 1544kb | OK | 10 |
5 | 16ms | 1856kb | OK | 10 |
6 | 68ms | 2824kb | OK | 10 |
7 | 288ms | 6948kb | OK | 10 |
8 | 664ms | 11828kb | OK | 10 |
9 | 684ms | 11828kb | OK | 10 |
10 | 596ms | 11824kb | OK | 10 |
Punctaj total | 100 |