Pagini recente » Borderou de evaluare (job #1069920) | Borderou de evaluare (job #104550) | Borderou de evaluare (job #384530) | Borderou de evaluare (job #1488983) | Borderou de evaluare (job #1560467)
Borderou de evaluare (job #1560467)
Raport evaluator
Compilare:
user.cpp: In function ‘void init()’:
user.cpp:18:28: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
pre[i] = pre[i-1] + (1<<i-1)*i;
^
user.cpp: In function ‘long long int getPosition(long long int)’:
user.cpp:26:33: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
toReturn += biti*(x-(1<<biti-1)+1);
^
user.cpp: In function ‘void get(char*, long long int)’:
user.cpp:46:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < strlen(t)/2; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:95:51: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitepatternmatching.in", "r", stdin);
^
user.cpp:96:53: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infinitepatternmatching.out", "w", stdout);
^
user.cpp:98:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cccwe0AX.o: In function `main':
user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 400kb | OK | 4 |
2 | 0ms | 396kb | OK | 4 |
3 | 0ms | 392kb | OK | 4 |
4 | 0ms | 392kb | OK | 4 |
5 | 0ms | 400kb | OK | 4 |
6 | 0ms | 396kb | Incorect | 0 |
7 | 0ms | 396kb | Incorect | 0 |
8 | 0ms | 392kb | OK | 4 |
9 | 0ms | 400kb | Incorect | 0 |
10 | 4ms | 392kb | Incorect | 0 |
11 | 0ms | 392kb | OK | 4 |
12 | 0ms | 396kb | Incorect | 0 |
13 | 0ms | 396kb | OK | 4 |
14 | 0ms | 400kb | OK | 4 |
15 | 0ms | 396kb | OK | 4 |
16 | 0ms | 400kb | OK | 4 |
17 | 0ms | 392kb | OK | 4 |
18 | 0ms | 400kb | Incorect | 0 |
19 | 0ms | 392kb | OK | 4 |
20 | 0ms | 392kb | Incorect | 0 |
21 | 4ms | 396kb | Incorect | 0 |
22 | 0ms | 392kb | Incorect | 0 |
23 | 4ms | 392kb | Incorect | 0 |
24 | 4ms | 392kb | Incorect | 0 |
25 | 0ms | 396kb | Incorect | 0 |
Punctaj total | 52 |