Borderou de evaluare (job #2440427)

Utilizator claudiu.gatinaFMI Claudiu Gatina claudiu.gatina Data 18 iulie 2019 13:33:57
Problema Prefix Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 40

Raport evaluator

Compilare: main.cpp: In function 'void solve()': main.cpp:17:17: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1000002]' [-Wformat=] scanf("%s", &ss); ^ main.cpp:17:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &ss); ^ main.cpp: In function 'int main()': main.cpp:53:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.in", "r", stdin); ^ main.cpp:54:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("prefix.out", "w", stdout); ^ main.cpp:57:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ main.cpp: In function 'void solve()': main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds] char* s = ss - 1; ^ main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds] main.cpp:18:17: warning: array subscript is below array bounds [-Warray-bounds]
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
23ms131kbOK10
3134ms131kbOK10
4252ms393kbTime limit exceeded0
5253ms262kbTime limit exceeded0
6252ms393kbTime limit exceeded0
7253ms786kbTime limit exceeded0
8251ms1048kbTime limit exceeded0
9251ms393kbTime limit exceeded0
103ms131kbOK10
Punctaj total40

Ceva nu functioneaza?