Pagini recente » Borderou de evaluare (job #893031) | Borderou de evaluare (job #3156155) | Borderou de evaluare (job #2675409) | Borderou de evaluare (job #2422234) | Borderou de evaluare (job #2252296)
Borderou de evaluare (job #2252296)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[15]’ [-Wformat=]
scanf("%s\n", &first);
^
user.cpp:73:16: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[800005]’ [-Wformat=]
scanf("%s", &s);
^
user.cpp:84:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < strlen(s); i += p) {
~~^~~~~~~~~~~
user.cpp:68:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decod.in", "r", stdin);
^
user.cpp:69:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("decod.out", "w", stdout);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &p);
^
user.cpp:72:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &first);
^
user.cpp:73:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 864kb | OK | 10 |
2 | 112ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | 836kb | OK | 10 |
4 | 0ms | 856kb | OK | 10 |
5 | 0ms | 872kb | OK | 10 |
6 | 0ms | 860kb | OK | 10 |
7 | 0ms | 836kb | OK | 10 |
8 | 0ms | 840kb | OK | 10 |
9 | 0ms | 932kb | OK | 10 |
10 | 0ms | 876kb | OK | 10 |
Punctaj total | 90 |