Pagini recente » Borderou de evaluare (job #677330) | Borderou de evaluare (job #3154481) | Borderou de evaluare (job #1089908) | Borderou de evaluare (job #833433) | Borderou de evaluare (job #2049463)
Borderou de evaluare (job #2049463)
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 | 336ms | 3960kb | OK | 100 |
Punctaj total | 100 |