Pagini recente » Borderou de evaluare (job #195437) | Borderou de evaluare (job #163598) | Borderou de evaluare (job #3039890) | Borderou de evaluare (job #2887923) | Borderou de evaluare (job #1306456)
Borderou de evaluare (job #1306456)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:29: warning: unused variable ‘newPoint’ [-Wunused-variable]
int n, steps, i, point, newPoint;
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.in", "r", stdin);
^
user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cablaj.out", "w", stdout);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:26:36: 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:48:33: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
res += sqrt(dmin[point]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | OK | 10 |
2 | 0ms | 320kb | OK | 10 |
3 | 0ms | 320kb | OK | 10 |
4 | 12ms | 340kb | OK | 10 |
5 | 24ms | 340kb | OK | 10 |
6 | 60ms | 340kb | OK | 10 |
7 | 108ms | 352kb | OK | 10 |
8 | 168ms | 360kb | OK | 10 |
9 | 244ms | 356kb | OK | 10 |
10 | 244ms | 360kb | OK | 10 |
Punctaj total | 100 |