Pagini recente » Borderou de evaluare (job #1440832) | Borderou de evaluare (job #431463) | Borderou de evaluare (job #1588805) | Borderou de evaluare (job #1575759) | Borderou de evaluare (job #1725188)
Borderou de evaluare (job #1725188)
Raport evaluator
Compilare:
user.cpp: In function ‘int must(std::string)’:
user.cpp:26:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = pos; i + patt.size() - 1 <= n; i++) {
^
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < patt.size(); j++)
^
user.cpp: In function ‘int rep(std::string)’:
user.cpp:45:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = pos; i + patt.size() - 1 <= n; i += patt.size()) {
^
user.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < patt.size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:247:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peg.in","r",stdin);
^
user.cpp:248:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("peg.out","w",stdout);
^
user.cpp:250:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:253:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", s + 1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 468kb | Incorect | 0 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 472kb | Incorect | 0 |
5 | 0ms | 468kb | OK | 10 |
6 | 4ms | 480kb | OK | 10 |
7 | 4ms | 488kb | OK | 10 |
8 | 32ms | 548kb | Incorect | 0 |
9 | 48ms | 592kb | Incorect | 0 |
10 | 0ms | 460kb | OK | 10 |
Punctaj total | 60 |