Pagini recente » Borderou de evaluare (job #2253894) | Borderou de evaluare (job #133304) | Borderou de evaluare (job #2706159) | Borderou de evaluare (job #2265072) | Borderou de evaluare (job #1436497)
Borderou de evaluare (job #1436497)
Raport evaluator
Compilare:
user.cpp: In function ‘void rst(int*)’:
user.cpp:17:21: 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(P, 0, sizeof(P));
^
user.cpp: In function ‘int main()’:
user.cpp:60:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.in", "r", stdin);
^
user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("quadratum.out", "w", stdout);
^
user.cpp:63:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:66:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 476kb | Incorect | 0 |
Punctaj total | 0 |