Pagini recente » Borderou de evaluare (job #2279307) | Borderou de evaluare (job #206472) | Borderou de evaluare (job #611544) | Borderou de evaluare (job #123927) | Borderou de evaluare (job #1187605)
Borderou de evaluare (job #1187605)
Raport evaluator
Compilare:
user.cpp: In function ‘void compute(int*, char*)’:
user.cpp:55:24: 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 solve()’:
user.cpp:87:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %s", a+1, b+1);
^
user.cpp: In function ‘int main()’:
user.cpp:111:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:112:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:115:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 100 |
2 | 0ms | 252kb | OK | 10 |
3 | 4ms | 256kb | OK | 10 |
4 | 32ms | 256kb | OK | 10 |
5 | 1380ms | 252kb | OK | 10 |
6 | 68ms | 260kb | OK | 10 |
7 | 1372ms | 256kb | OK | 10 |
8 | 1384ms | 256kb | OK | 10 |
9 | 1384ms | 256kb | OK | 10 |
10 | 1376ms | 260kb | OK | 10 |
Punctaj total | 100 |