Pagini recente » Borderou de evaluare (job #1189310) | Borderou de evaluare (job #519639) | Borderou de evaluare (job #1758798) | Borderou de evaluare (job #548814) | Borderou de evaluare (job #1768849)
Borderou de evaluare (job #1768849)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:17: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &T);
^
user.cpp:36:18: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &N);
^
user.cpp:57:139: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(stderr, "0 (y=%ld) => +1 ; platou: %d - %d (y=%ld); -1 => xmax=%d (y=%ld); %d\n", y_, x1 - d1, x2 + d2, yx1, xmax, y2, (y2 > y_));
^
user.cpp:57:139: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 6 has type ‘int’ [-Wformat=]
user.cpp:57:139: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 8 has type ‘int’ [-Wformat=]
user.cpp:59:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", y_ + x);
^
user.cpp:61:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", yx1);
^
user.cpp:63:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n", y2 + (xmax - x));
^
user.cpp:31:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bile5.in", "r", stdin);
^
user.cpp:32:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bile5.out", "w", stdout);
^
user.cpp:33:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &T);
^
user.cpp:36:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &N);
^
user.cpp:38:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &S[i], &P[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 4ms | 448kb | OK | 10 |
5 | 16ms | 460kb | OK | 10 |
6 | 80ms | 508kb | OK | 10 |
7 | 100ms | 552kb | OK | 10 |
8 | 132ms | 560kb | OK | 10 |
9 | 128ms | 552kb | OK | 10 |
10 | 124ms | 556kb | OK | 10 |
Punctaj total | 100 |