Pagini recente » Borderou de evaluare (job #3132761) | Borderou de evaluare (job #1814739) | Borderou de evaluare (job #1386256) | Borderou de evaluare (job #1870272) | Borderou de evaluare (job #2049461)
Borderou de evaluare (job #2049461)
Raport evaluator
Compilare:
user.cpp: In function ‘void normalize(int&, int*, int*, int*)’:
user.cpp:25:25: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(xn, 0, sizeof(xn));
^
user.cpp: In function ‘int main()’:
user.cpp:39:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paralelipiped.in", "r", stdin);
^
user.cpp:40:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paralelipiped.out", "w", stdout);
^
user.cpp:41:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:43:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:47:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d%d", &a[i].x0, &a[i].y0, &a[i].z0, &a[i].x1, &a[i].Y1, &a[i].z1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |