Pagini recente » Borderou de evaluare (job #1036926) | Borderou de evaluare (job #488952) | Borderou de evaluare (job #1869209) | Borderou de evaluare (job #1455639) | Borderou de evaluare (job #1502139)
Borderou de evaluare (job #1502139)
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 | 1332kb | OK | 10 | 100 |
2 | 0ms | 1328kb | OK | 10 |
3 | 0ms | 1364kb | OK | 10 |
4 | 4ms | 1444kb | OK | 10 |
5 | 20ms | 1740kb | OK | 10 |
6 | 88ms | 2720kb | OK | 10 |
7 | 360ms | 6828kb | OK | 10 |
8 | 728ms | 11712kb | OK | 10 |
9 | 728ms | 11712kb | OK | 10 |
10 | 716ms | 11712kb | OK | 10 |
Punctaj total | 100 |