Pagini recente » Borderou de evaluare (job #1583724) | Borderou de evaluare (job #1447978)
Borderou de evaluare (job #1447978)
Raport evaluator
Compilare:
user.cpp: In member function ‘void aho_corasick::compute_delta_pi()’:
user.cpp:30:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<q.size();i++)
^
user.cpp: In member function ‘std::vector<char> aho_corasick::solve(int, int&)’:
user.cpp:60:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<v.size();j++)
^
user.cpp:70:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v.size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:111:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.in", "r", stdin);
^
user.cpp:112:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("strigat.out", "w", stdout);
^
user.cpp:116:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:119:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d",sir,&cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 0ms | 260kb | OK! | 10 |
4 | 0ms | 396kb | OK! | 10 |
5 | 0ms | 392kb | OK! | 10 |
6 | 4ms | 912kb | OK! | 10 |
7 | 28ms | 3788kb | OK! | 10 |
8 | 72ms | 6728kb | OK! | 10 |
9 | 28ms | 3032kb | OK! | 10 |
10 | 0ms | 396kb | OK! | 10 |
Punctaj total | 100 |