Pagini recente » Borderou de evaluare (job #1954368) | Borderou de evaluare (job #2086825) | Borderou de evaluare (job #326986) | Borderou de evaluare (job #1873634) | Borderou de evaluare (job #2587063)
Borderou de evaluare (job #2587063)
Raport evaluator
Compilare:
main.cpp: In function 'int prefix(char*, int, int)':
main.cpp:16:10: warning: unused variable 'bestk' [-Wunused-variable]
int k, bestk = 0;
^~~~~
main.cpp: In function 'bool inside(int, int)':
main.cpp:44:7: warning: unused variable 'aux' [-Wunused-variable]
int aux = prefix(s[ind2], l2, l2), k = 0;
^~~
main.cpp: In function 'int main()':
main.cpp:70:22: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30005]' [-Wformat=]
scanf("%s", &s[i]);
^
main.cpp:64: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:65: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:68:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:70:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s[i]);
^
main.cpp:104:26: warning: 'pozmin' may be used uninitialized in this function [-Wmaybe-uninitialized]
get_adn(pozmin, pn - 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK! | 10 |
2 | 4ms | 393kb | OK! | 10 |
3 | 8ms | 131kb | OK! | 10 |
4 | 9ms | 393kb | OK! | 10 |
5 | 150ms | 524kb | OK! | 10 |
6 | 581ms | 786kb | OK! | 10 |
7 | 58ms | 524kb | Killed by Signal 11 | 0 |
8 | 1165ms | 65552kb | Memory limit exceeded | 0 |
9 | 43ms | 917kb | Killed by Signal 11 | 0 |
10 | 69ms | 786kb | Killed by Signal 11 | 0 |
Punctaj total | 60 |