Pagini recente » Borderou de evaluare (job #1576045) | Borderou de evaluare (job #2468460) | Borderou de evaluare (job #1325600) | Borderou de evaluare (job #1334009) | Borderou de evaluare (job #2223575)
Borderou de evaluare (job #2223575)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d", &arr[i].x1, &arr[i].y1, &arr[i].x2, &arr[i].y2);
^
user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:28:73: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:68:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", ans);
^
user.cpp:22:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri4.in", "r", stdin);
^
user.cpp:23:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dreptunghiuri4.out", "w", stdout);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:28:74: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &arr[i].x1, &arr[i].y1, &arr[i].x2, &arr[i].y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2148kb | Incorect | 0 |
2 | 12ms | 5552kb | Incorect | 0 |
3 | 16ms | 6024kb | Incorect | 0 |
4 | 32ms | 10368kb | Incorect | 0 |
5 | 56ms | 13732kb | Incorect | 0 |
6 | 100ms | Depăşit | Memory limit exceeded. | 0 |
7 | Depăşit | 27968kb | Time limit exceeded. | 0 |
8 | Depăşit | 29376kb | Time limit exceeded. | 0 |
9 | Depăşit | 28944kb | Time limit exceeded. | 0 |
10 | Depăşit | 27204kb | Time limit exceeded. | 0 |
Punctaj total | 0 |