Pagini recente » Borderou de evaluare (job #2435690) | Borderou de evaluare (job #1901547) | Borderou de evaluare (job #2057353) | Borderou de evaluare (job #1712811) | Borderou de evaluare (job #2777285)
Borderou de evaluare (job #2777285)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:36: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%ld%ld%ld", &tip, &n, &m);
^
main.cpp:51:36: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:51:36: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:54:31: warning: format '%ld' expects argument of type 'long int*', but argument 2 has type 'll* {aka long long int*}' [-Wformat=]
scanf("%ld%ld", &u, &v);
^
main.cpp:54:31: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'll* {aka long long int*}' [-Wformat=]
main.cpp:64:27: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
printf("%ld\n", re);
^
main.cpp:79:51: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
if(tip == 2) printf("%ld\n%ld\n", re1, re2);
^
main.cpp:79:51: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'll {aka long long int}' [-Wformat=]
main.cpp:80:33: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'll {aka long long int}' [-Wformat=]
else printf("%ld\n", re3);
^
main.cpp: In function 'll cost()':
main.cpp:40:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", CO);
^
main.cpp: In function 'int main()':
main.cpp:49: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);
^
main.cpp:50: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);
^
main.cpp:51:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld", &tip, &n, &m);
^
main.cpp:54:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 917kb | Corect! | 2 |
2 | 34ms | 2678kb | Corect! | 2 |
3 | 46ms | 4382kb | Corect! | 2 |
4 | 4ms | 917kb | Corect! | 2 |
5 | 4ms | 917kb | Corect! | 2 |
6 | 43ms | 3203kb | Corect! | 2 |
7 | 4ms | 917kb | Corect! | 2 |
8 | 40ms | 3391kb | Corect! | 2 |
9 | 34ms | 2678kb | Corect! | 2 |
10 | 42ms | 3203kb | Corect! | 2 |
11 | 5ms | 1441kb | Corect | 4 |
12 | 37ms | 3203kb | Corect | 4 |
13 | 45ms | 3596kb | Corect | 4 |
14 | 5ms | 1441kb | Corect | 4 |
15 | 6ms | 1441kb | Corect | 4 |
16 | 51ms | 3596kb | Corect | 4 |
17 | 6ms | 1441kb | Corect | 4 |
18 | 48ms | 3653kb | Corect | 4 |
19 | 42ms | 3203kb | Corect | 4 |
20 | 52ms | 3727kb | Corect | 4 |
21 | 5ms | 1441kb | Corect! | 3 |
22 | 37ms | 3203kb | Corect! | 3 |
23 | 45ms | 3596kb | Corect! | 3 |
24 | 5ms | 1441kb | Corect! | 3 |
25 | 6ms | 1441kb | Corect! | 3 |
26 | 51ms | 3596kb | Corect! | 3 |
27 | 6ms | 1441kb | Corect! | 3 |
28 | 48ms | 3653kb | Corect! | 3 |
29 | 42ms | 3203kb | Corect! | 3 |
30 | 52ms | 3727kb | Corect! | 3 |
31 | 4ms | 917kb | Corect! (Exemplu) | 10 |
Punctaj total | 100 |