Pagini recente » Borderou de evaluare (job #2286301) | Borderou de evaluare (job #1526023) | Borderou de evaluare (job #3208652) | Borderou de evaluare (job #2784361) | Borderou de evaluare (job #1854403)
Borderou de evaluare (job #1854403)
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 |
1 | 0ms | 296kb | OK | 10 |
2 | 16ms | 1316kb | OK | 10 |
3 | 68ms | 3704kb | OK | 10 |
4 | 100ms | 5408kb | OK | 10 |
5 | 120ms | 6440kb | OK | 10 |
6 | 136ms | 7120kb | OK | 10 |
7 | Depăşit | 27636kb | Time limit exceeded. | 0 |
8 | Depăşit | 31044kb | Time limit exceeded. | 0 |
9 | Depăşit | 34456kb | Time limit exceeded. | 0 |
10 | 0ms | 296kb | OK | 10 |
Punctaj total | 70 |