Pagini recente » Borderou de evaluare (job #1821637) | Borderou de evaluare (job #2307909) | Borderou de evaluare (job #244221) | Borderou de evaluare (job #1598867) | Borderou de evaluare (job #2002715)
Borderou de evaluare (job #2002715)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:72:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d", &v[i].x, &v[i].yj, &v[i].ys);
^
user.cpp:72:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:72:46: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:108:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", sol);
^
user.cpp:67:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("h.in", "r", stdin);
^
user.cpp:68:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("h.out", "w", stdout);
^
user.cpp:69:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:72:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &v[i].x, &v[i].yj, &v[i].ys);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 276ms | 7980kb | OK | 10 | 100 |
2 | 376ms | 8224kb | OK | 10 |
3 | 412ms | 8480kb | OK | 10 |
4 | 348ms | 8224kb | OK | 10 |
5 | 340ms | 8472kb | OK | 10 |
6 | 364ms | 8472kb | OK | 10 |
7 | 372ms | 8116kb | OK | 10 |
8 | 324ms | 8196kb | OK | 10 |
9 | 216ms | 7968kb | OK | 10 |
10 | 344ms | 8476kb | OK | 10 |
Punctaj total | 100 |