Pagini recente » Borderou de evaluare (job #2820856) | Borderou de evaluare (job #2834537) | Borderou de evaluare (job #1480658) | Borderou de evaluare (job #2028620) | Borderou de evaluare (job #1560465)
Borderou de evaluare (job #1560465)
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/cciXPq92.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 | 392kb | OK | 4 |
| 2 | 0ms | 400kb | OK | 4 |
| 3 | 0ms | 396kb | OK | 4 |
| 4 | 0ms | 396kb | OK | 4 |
| 5 | 0ms | 400kb | OK | 4 |
| 6 | 0ms | 396kb | Incorect | 0 |
| 7 | 0ms | 400kb | Incorect | 0 |
| 8 | 4ms | 392kb | OK | 4 |
| 9 | 4ms | 396kb | Incorect | 0 |
| 10 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 11 | 0ms | 392kb | OK | 4 |
| 12 | Depăşit | 364kb | Time limit exceeded. | 0 |
| 13 | 0ms | 396kb | OK | 4 |
| 14 | 4ms | 396kb | Incorect | 0 |
| 15 | 0ms | 396kb | OK | 4 |
| 16 | 0ms | 400kb | OK | 4 |
| 17 | 0ms | 392kb | OK | 4 |
| 18 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 356kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 21 | Depăşit | 356kb | Time limit exceeded. | 0 |
| 22 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 23 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 24 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 25 | Depăşit | 360kb | Time limit exceeded. | 0 |
| Punctaj total | 44 |