Pagini recente » Borderou de evaluare (job #3264196) | Borderou de evaluare (job #2834287) | Borderou de evaluare (job #3202670) | Borderou de evaluare (job #1273363) | Borderou de evaluare (job #1858833)
Borderou de evaluare (job #1858833)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d\n", &N);
^
user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &x);
^
user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d %I64d\n", cost, sol);
^
user.cpp:72:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.in","r",stdin);
^
user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gard5.out","w",stdout);
^
user.cpp:27:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d\n", &N);
^
user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | Doar numarul de permutari gresit! | 5 |
2 | 0ms | 444kb | Doar numarul de permutari gresit! | 5 |
3 | 0ms | 444kb | Doar numarul de permutari gresit! | 5 |
4 | 0ms | 448kb | Raspuns gresit! | 0 |
5 | 0ms | 440kb | Doar numarul de permutari gresit! | 5 |
6 | 0ms | 444kb | Raspuns gresit! | 0 |
7 | 0ms | 440kb | Raspuns gresit! | 0 |
8 | 0ms | 444kb | Doar numarul de permutari gresit! | 5 |
9 | 0ms | 444kb | Doar numarul de permutari gresit! | 5 |
10 | 0ms | 448kb | Doar numarul de permutari gresit! | 5 |
Punctaj total | 35 |