Pagini recente » Borderou de evaluare (job #2124965) | Borderou de evaluare (job #1415082) | Borderou de evaluare (job #2328868) | Borderou de evaluare (job #1210701) | Borderou de evaluare (job #1208086)
Borderou de evaluare (job #1208086)
Raport evaluator
Compilare:
user.cpp: In function ‘void read(int*)’:
user.cpp:80:22: 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:82:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[350]’ [-Wformat=]
scanf("%s",&S);
^
user.cpp:82:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&S);
^
user.cpp: In function ‘int main()’:
user.cpp:134:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.in","r",stdin);
^
user.cpp:135:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easylca.out","w",stdout);
^
user.cpp:137:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q);
^
user.cpp: In function ‘void lca(int*, int*, int*)’:
user.cpp:128:16: warning: ‘lastB’ may be used uninitialized in this function [-Wmaybe-uninitialized]
start=lastB-lastA+1;
^
user.cpp:128:16: warning: ‘lastA’ may be used uninitialized in this function [-Wmaybe-uninitialized]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 272kb | OK | 10 | 0 |
2 | 12ms | 272kb | OK | 10 |
3 | 32ms | 276kb | OK | 10 |
4 | 168ms | 272kb | OK | 10 |
5 | Depăşit | 268kb | Time limit exceeded. | 0 |
6 | 336ms | 276kb | OK | 10 |
7 | Depăşit | 268kb | Time limit exceeded. | 0 |
8 | Depăşit | 272kb | Time limit exceeded. | 0 |
9 | Depăşit | 268kb | Time limit exceeded. | 0 |
10 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 0 |