Pagini recente » Borderou de evaluare (job #2119697) | Borderou de evaluare (job #2416070) | Borderou de evaluare (job #1181375) | Borderou de evaluare (job #329340) | Borderou de evaluare (job #1299411)
Borderou de evaluare (job #1299411)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(auto it : l[s[i]])
^
user.cpp:64:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
l[s[i]].pb(i);
^
user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.in", "r", stdin);
^
user.cpp:38:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefix2.out", "w", stdout);
^
user.cpp:40:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s + 1, nmax, stdin);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:40:30:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 12ms | 564kb | OK | 10 |
4 | 12ms | 564kb | OK | 10 |
5 | 52ms | 560kb | OK | 10 |
6 | 260ms | 900kb | OK | 10 |
7 | Depăşit | 920kb | Time limit exceeded. | 0 |
8 | Depăşit | 1200kb | Time limit exceeded. | 0 |
9 | Depăşit | 1348kb | Time limit exceeded. | 0 |
10 | Depăşit | 936kb | Time limit exceeded. | 0 |
Punctaj total | 60 |