Pagini recente » Borderou de evaluare (job #332651) | Borderou de evaluare (job #1622613) | Borderou de evaluare (job #2595274) | Borderou de evaluare (job #63715) | Borderou de evaluare (job #1212359)
Borderou de evaluare (job #1212359)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve(int, long long int, char*)’:
user.cpp:33:35: warning: variable ‘search_index’ set but not used [-Wunused-but-set-variable]
int i, j, next_occurrence, search_index, position, solution_index;
^
user.cpp:33:49: warning: unused variable ‘position’ [-Wunused-variable]
int i, j, next_occurrence, search_index, position, solution_index;
^
user.cpp:33:59: warning: variable ‘solution_index’ set but not used [-Wunused-but-set-variable]
int i, j, next_occurrence, search_index, position, solution_index;
^
user.cpp:35:13: warning: variable ‘c’ set but not used [-Wunused-but-set-variable]
char c;
^
user.cpp: In function ‘void read()’:
user.cpp:88:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:90:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld", &N, &K);
^
user.cpp:91:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", S + 1); //to start indexing from 1
^
user.cpp: In function ‘int main()’:
user.cpp:97:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(INI, "r", stdin);
^
user.cpp:98:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUTI, "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 536kb | Incorect | 0 |
2 | 0ms | 532kb | Incorect | 0 |
3 | 0ms | 548kb | Incorect | 0 |
4 | 48ms | 584kb | Incorect | 0 |
5 | 80ms | 584kb | Incorect | 0 |
6 | 92ms | 584kb | Incorect | 0 |
7 | 96ms | 584kb | Incorect | 0 |
8 | 100ms | 588kb | Incorect | 0 |
9 | 100ms | 588kb | Incorect | 0 |
10 | 100ms | 584kb | Incorect | 0 |
Punctaj total | 0 |