Pagini recente » Borderou de evaluare (job #2099868) | Borderou de evaluare (job #756753) | Borderou de evaluare (job #437368) | Borderou de evaluare (job #2049482) | Borderou de evaluare (job #2112637)
Borderou de evaluare (job #2112637)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int getrez(long long int, long long int, bool, char)’:
user.cpp:54:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
rez += frAfter1Stage[c] << (stage - 2);
^
user.cpp: In function ‘int main()’:
user.cpp:65:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
frAfter1Stage[C[i]]++;
^
user.cpp:60:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d\n",&N,&Q);
^
user.cpp:61:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(C + 1,100005,f);
^
user.cpp:84:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&pos);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* fgets(char*, int, FILE*)’,
inlined from ‘int main()’ at user.cpp:61:26:
/usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default]
return __fgets_chk_warn (__s, __bos (__s), __n, __stream);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | Corect | 10 |
2 | 0ms | 280kb | Corect | 5 |
3 | 0ms | 316kb | Corect | 5 |
4 | 0ms | 332kb | Corect | 5 |
5 | 76ms | 788kb | Corect | 5 |
6 | 80ms | 1092kb | Corect | 5 |
7 | 92ms | 1288kb | Corect | 5 |
8 | 104ms | 1508kb | Corect | 5 |
9 | 0ms | 688kb | Corect | 5 |
10 | 4ms | 888kb | Corect | 5 |
11 | 4ms | 648kb | Corect | 5 |
12 | 4ms | 832kb | Corect | 5 |
13 | 96ms | 4360kb | Corect | 5 |
14 | 108ms | 7416kb | Corect | 5 |
15 | 128ms | 14560kb | Corect | 5 |
16 | 152ms | 17632kb | Corect | 5 |
17 | 176ms | 18644kb | Corect | 5 |
18 | 204ms | 19664kb | Corect | 5 |
19 | 212ms | 20684kb | Corect | 5 |
Punctaj total | 100 |