Pagini recente » Borderou de evaluare (job #3237150) | Borderou de evaluare (job #225396) | Borderou de evaluare (job #981959) | Borderou de evaluare (job #1049176) | Borderou de evaluare (job #1404349)
Borderou de evaluare (job #1404349)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:113:72: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", sumX - 1LL * timesX * px + sumY - 1LL * timesY * py);
^
user.cpp:25:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.in", "r", stdin);
^
user.cpp:26:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("distancesum.out", "w", stdout);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:31:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &X[i], &Y[i]);
^
user.cpp:86:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &px, &py);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | Incorect | 0 |
2 | 4ms | 360kb | Incorect | 0 |
3 | 4ms | 360kb | Incorect | 0 |
4 | 136ms | 1948kb | Incorect | 0 |
5 | 140ms | 1952kb | Incorect | 0 |
6 | 636ms | 5744kb | Incorect | 0 |
7 | 624ms | 5744kb | Incorect | 0 |
8 | 624ms | 5740kb | Incorect | 0 |
9 | 632ms | 5740kb | Incorect | 0 |
10 | 636ms | 5748kb | Incorect | 0 |
Punctaj total | 0 |