Borderou de evaluare (job #2587051)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 21 martie 2020 22:21:43
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'bool inside(int, int)': main.cpp:43:7: warning: unused variable 'aux' [-Wunused-variable] int aux = prefix(s[ind2], l[ind2], l[ind2]), 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: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]); ^ main.cpp:103: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
13ms131kbWrong asnwer0
24ms393kbWrong asnwer0
38ms131kbWrong asnwer0
49ms393kbWrong asnwer0
5156ms524kbWrong asnwer0
6677ms786kbWrong asnwer0
781ms524kbKilled by Signal 110
8229ms65552kbMemory limit exceeded0
957ms917kbKilled by Signal 110
1073ms786kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?