Pagini recente » Borderou de evaluare (job #275743) | Borderou de evaluare (job #435322) | Borderou de evaluare (job #1434097) | Borderou de evaluare (job #2598385) | Borderou de evaluare (job #2591777)
Borderou de evaluare (job #2591777)
Raport evaluator
Compilare:
main.cpp: In function 'int prefix(char*, int)':
main.cpp:17:10: warning: unused variable 'bestk' [-Wunused-variable]
int k, bestk = 0;
^~~~~
main.cpp: In function 'bool inside(int, int)':
main.cpp:43:7: warning: unused variable 'aux' [-Wunused-variable]
int aux = prefix(s[ind2], l2), k = 0;
^~~
main.cpp: In function 'int main()':
main.cpp:69:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30005]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:85:24: warning: converting to non-pointer type 'char' from NULL [-Wconversion-null]
p[li + lj + 1] = NULL;
^~~~
main.cpp:100:19: warning: unused variable 'lj' [-Wunused-variable]
int lj = strlen(s[j]);
^~
main.cpp:63:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.in", "r", stdin);
^
main.cpp:64:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.out", "w", stdout);
^
main.cpp:67:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:69:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK! | 10 |
2 | 3ms | 393kb | OK! | 10 |
3 | 3ms | 131kb | OK! | 10 |
4 | 4ms | 393kb | OK! | 10 |
5 | 6ms | 524kb | OK! | 10 |
6 | 14ms | 786kb | OK! | 10 |
7 | 176ms | 2228kb | OK! | 10 |
8 | 830ms | 10878kb | OK! | 10 |
9 | 202ms | 2490kb | OK! | 10 |
10 | 1351ms | 13762kb | Time limit exceeded | 0 |
Punctaj total | 90 |