Pagini recente » Borderou de evaluare (job #2494178) | Borderou de evaluare (job #1117898) | Borderou de evaluare (job #671775) | Borderou de evaluare (job #2834701) | Borderou de evaluare (job #1725189)
Borderou de evaluare (job #1725189)
Raport evaluator
Compilare:
user.cpp: In function ‘int must(std::string)’:
user.cpp:28:31: 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:44:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = pos; i + patt.size() - 1 <= n; i += patt.size()) {
^
user.cpp:46: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:246: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:247: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:249:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:252: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 | 460kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 468kb | OK | 10 |
4 | 0ms | 472kb | OK | 10 |
5 | 0ms | 468kb | OK | 10 |
6 | 0ms | 476kb | OK | 10 |
7 | 0ms | 488kb | OK | 10 |
8 | 8ms | 544kb | OK | 10 |
9 | 20ms | 596kb | OK | 10 |
10 | 0ms | 460kb | OK | 10 |
Punctaj total | 100 |