Pagini recente » Borderou de evaluare (job #2980638) | Borderou de evaluare (job #2846792) | Borderou de evaluare (job #131190) | Borderou de evaluare (job #1229099) | Borderou de evaluare (job #1501986)
Borderou de evaluare (job #1501986)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int*)’:
user.cpp:62: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(v, 0, sizeof v);
^
user.cpp: In function ‘void impart(int*, int*, int)’:
user.cpp:115: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(a, 0, sizeof a);
^
user.cpp: In function ‘int main()’:
user.cpp:140:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d ", &n, &t);
^
user.cpp: In function ‘char nextch()’:
user.cpp:14:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, BUF_SIZE, 1, fin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 324kb | OK | 10 |
2 | 12ms | 8276kb | OK | 10 |
3 | 0ms | 1092kb | OK | 10 |
4 | 16ms | 8408kb | OK | 10 |
5 | 0ms | 1088kb | OK | 10 |
6 | 236ms | 13360kb | OK | 10 |
7 | 88ms | 1644kb | OK | 10 |
8 | 172ms | 6856kb | OK | 10 |
9 | 272ms | 13364kb | OK | 10 |
10 | 280ms | 13356kb | OK | 10 |
Punctaj total | 100 |