Pagini recente » Borderou de evaluare (job #2594144) | Borderou de evaluare (job #1123839) | Borderou de evaluare (job #472424) | Borderou de evaluare (job #1356930) | Borderou de evaluare (job #2174928)
Borderou de evaluare (job #2174928)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:41:37: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[10]’ [-Wformat=]
scanf("%d %d %s", &x, &y, &s);
^
user.cpp:42:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = p[s[0]] + p[s[1]] * 5 + p[s[2]] * 25 + p[s[3]] * 125;
^
user.cpp:42:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = p[s[0]] + p[s[1]] * 5 + p[s[2]] * 25 + p[s[3]] * 125;
^
user.cpp:42:43: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = p[s[0]] + p[s[1]] * 5 + p[s[2]] * 25 + p[s[3]] * 125;
^
user.cpp:42:58: warning: array subscript has type ‘char’ [-Wchar-subscripts]
c = p[s[0]] + p[s[1]] * 5 + p[s[2]] * 25 + p[s[3]] * 125;
^
user.cpp:58:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x].size(); ++i)
^
user.cpp:34:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ninjago.in", "r", stdin);
^
user.cpp:35:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ninjago.out", "w", stdout);
^
user.cpp:37:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &tt, &n, &m);
^
user.cpp:41:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %s", &x, &y, &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2716kb | Corect! | 2 |
2 | 24ms | 3932kb | Corect! | 2 |
3 | 36ms | 4100kb | Corect! | 2 |
4 | 4ms | 2768kb | Corect! | 2 |
5 | 4ms | 2752kb | Corect! | 2 |
6 | 32ms | 4152kb | Corect! | 2 |
7 | 4ms | 2832kb | Corect! | 2 |
8 | 32ms | 4140kb | Corect! | 2 |
9 | 24ms | 3836kb | Corect! | 2 |
10 | 36ms | 4120kb | Corect! | 2 |
11 | 4ms | 2652kb | Corect | 4 |
12 | 40ms | 3836kb | Corect | 4 |
13 | 40ms | 4148kb | Corect | 4 |
14 | 4ms | 2712kb | Corect | 4 |
15 | 4ms | 2812kb | Corect | 4 |
16 | 44ms | 4040kb | Corect | 4 |
17 | 4ms | 2756kb | Corect | 4 |
18 | 40ms | 4040kb | Corect | 4 |
19 | 40ms | 3848kb | Corect | 4 |
20 | 44ms | 4064kb | Corect | 4 |
21 | 4ms | 2824kb | Corect! | 3 |
22 | 40ms | 3816kb | Corect! | 3 |
23 | 40ms | 4060kb | Corect! | 3 |
24 | 4ms | 2652kb | Corect! | 3 |
25 | 4ms | 2752kb | Corect! | 3 |
26 | 44ms | 4096kb | Corect! | 3 |
27 | 4ms | 2804kb | Corect! | 3 |
28 | 40ms | 4112kb | Corect! | 3 |
29 | 40ms | 3884kb | Corect! | 3 |
30 | 44ms | 4152kb | Corect! | 3 |
31 | 4ms | 2716kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |