Pagini recente » Borderou de evaluare (job #2701598) | Borderou de evaluare (job #472685) | Borderou de evaluare (job #135716) | Borderou de evaluare (job #1413484) | Borderou de evaluare (job #1782895)
Borderou de evaluare (job #1782895)
Raport evaluator
Compilare:
user.cpp: In function ‘bool verify(std::string, std::string)’:
user.cpp:39:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.length(); ++i)
^
user.cpp:45:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(pozb == b.length())
^
user.cpp: In function ‘int main(int, const char**)’:
user.cpp:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i < a.size(); ++i)
^
user.cpp:88:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < sol.size(); ++j)
^
user.cpp:102:35: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::vector<std::pair<std::basic_string<char>, int> >::size_type {aka unsigned int}’ [-Wformat=]
printf("%lu\n", sol.size());
^
user.cpp:105:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol.size(); ++i)
^
user.cpp:55:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.in", "r", stdin);
^
user.cpp:56:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("interesant.out", "w", stdout);
^
user.cpp:60:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &c, &n);
^
user.cpp:65:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str);
^
user.cpp:77:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", str);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 784kb | OK. | 5 | 20 |
2 | 4ms | 1048kb | OK. | 5 |
3 | 0ms | 476kb | OK. | 5 |
4 | 0ms | 552kb | OK. | 5 |
5 | 0ms | 488kb | OK. | 3 | 3 |
6 | 36ms | 756kb | OK. | 3 | 3 |
7 | 0ms | 496kb | OK. | 3 | 3 |
8 | 116ms | 796kb | OK. | 3 | 3 |
9 | 704ms | 2076kb | OK. | 4 | 4 |
10 | 300ms | 928kb | OK. | 4 | 4 |
11 | 532ms | 1864kb | OK. | 4 | 4 |
12 | 440ms | 1408kb | OK. | 4 | 4 |
13 | 468ms | 1452kb | OK. | 4 | 4 |
14 | 416ms | 1344kb | OK. | 5 | 5 |
15 | 316ms | 1472kb | OK. | 5 | 5 |
16 | 548ms | 1432kb | OK. | 5 | 5 |
17 | 440ms | 1476kb | OK. | 5 | 5 |
18 | 284ms | 2072kb | OK. | 5 | 5 |
19 | 344ms | 2024kb | OK. | 5 | 5 |
20 | 668ms | 1856kb | OK. | 6 | 6 |
21 | 672ms | 1840kb | OK. | 6 | 6 |
22 | 492ms | 2008kb | OK. | 6 | 6 |
Punctaj total | 100 |