Borderou de evaluare (job #1854403)

Utilizator assa98Andrei Stanciu assa98 Data 22 ianuarie 2017 18:15:18
Problema Lru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘long long int solve()’: user.cpp:52:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] L[s1[i]].push_front(info(sp, i)); ^ user.cpp:53:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] sp[s1[i]]++; ^ user.cpp:59:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(L[s2[i]].empty()) { ^ user.cpp:76:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] poz -= max(sp[p], L[s2[i]].back().s[p]); ^ user.cpp:80:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] L[s2[i]].pop_back(); ^ user.cpp:83:13: warning: array subscript has type ‘char’ [-Wchar-subscripts] sp[s2[i]]++; ^ user.cpp: In function ‘void read(char*)’: user.cpp:27:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", s); ^ user.cpp: In function ‘long long int solve()’: user.cpp:45:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp: In function ‘int main()’: user.cpp:89:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lru.in", "r", stdin); ^ user.cpp:90:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lru.out", "w", stdout); ^ user.cpp:93:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d", &t); t; t--) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK10
216ms1316kbOK10
368ms3704kbOK10
4100ms5408kbOK10
5120ms6440kbOK10
6136ms7120kbOK10
7Depăşit27636kbTime limit exceeded.0
8Depăşit31044kbTime limit exceeded.0
9Depăşit34456kbTime limit exceeded.0
100ms296kbOK10
Punctaj total70

Ceva nu functioneaza?